Skip to content

Commit c7ff5f5

Browse files
committed
Fix test execution
1 parent 2168ce8 commit c7ff5f5

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
"lint-all": "npm run lint && npm run lint-frontend",
6666
"compile-all": "npm run compile && npm run compile-frontend",
6767
"watch-all": "npm run watch && npm run watch-frontend",
68-
"compile-tests": "tsc -p ./src/ --outDir out",
69-
"watch-tests": "tsc -p ./src/ -w --outDir out",
68+
"compile-tests": "tsc -p ./ --outDir out",
69+
"watch-tests": "tsc -p ./ -w --outDir out",
7070
"pretest": "npm run compile-tests && npm run compile && npm run lint",
7171
"test": "vscode-test",
7272
"build": "npm run compile-all",

tsconfig.json

+13-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@
77
],
88
"sourceMap": true,
99
"rootDir": "src",
10-
"strict": true /* enable all strict type-checking options */
11-
/* Additional Checks */
12-
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
13-
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
14-
// "noUnusedParameters": true, /* Report errors on unused parameters. */
10+
"strict": true, /* enable all strict type-checking options */
11+
"skipLibCheck": true, /* Skip type checking of declaration files. */
12+
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
13+
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
14+
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
15+
"noUnusedParameters": true, /* Report errors on unused parameters. */
16+
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
17+
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
18+
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
19+
"noUnusedLocals": true, /* Report errors on unused locals. */
20+
"noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
1521
},
1622
"exclude": [
1723
"frontend/**/*", // Exclude the inner project
18-
"shared/**/*" // Exclude the shared project
24+
"shared/**/*", // Exclude the shared project
25+
"node_modules"
1926
]
2027
}

0 commit comments

Comments
 (0)