We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0234a8a commit b1ba4e1Copy full SHA for b1ba4e1
jest.config.ts
@@ -2,12 +2,18 @@ export default {
2
"transform": {
3
".ts": "ts-jest"
4
},
5
+ "testEnvironment": "node",
6
"testRegex": "(/tests?/.*|\\.(test|spec))\\.(ts|js)$",
7
"moduleFileExtensions": [
8
"ts",
9
"js"
10
],
11
"modulePathIgnorePatterns": [
12
"out"
- ]
13
-}
+ ],
14
+ "globals": {
15
+ "ts-jest": {
16
+ "isolatedModules": true
17
+ }
18
19
+};
package.json
@@ -37,7 +37,6 @@
37
"vscode:prepublish": "npm run compile",
38
"compile": "tsc -p ./src",
39
"watch": "tsc -watch -p ./src",
40
- "pretest": "npm run compile",
41
"test": "jest --projects jest.config.ts",
42
"lint": "eslint ./src",
43
"deploy": "vsce publish"
0 commit comments