You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
592 B
27 lines
592 B
module.exports = {
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/(?!@cloudbase).+\\.js$"
|
|
],
|
|
globals: {
|
|
'ts-jest': {
|
|
isolatedModules: true
|
|
},
|
|
},
|
|
"verbose": true,
|
|
"testURL": "http://localhost/",
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"testEnvironment": "node",
|
|
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js"
|
|
};
|