Skip to content

Commit 993cced

Browse files
committed
fix: bug found by strict
1 parent fba17be commit 993cced

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/reporters/testReporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class TestReporter {
6060

6161
const testService = new TestService(this.connection);
6262

63-
await testService.writeResultFiles(result, outputDirConfig, options['code-coverage'] as boolean);
63+
await testService.writeResultFiles(result, outputDirConfig, options.codeCoverage);
6464
}
6565

6666
try {

test/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@salesforce/dev-config/tsconfig-test",
2+
"extends": "@salesforce/dev-config/tsconfig-test-strict",
33
"include": ["./**/*.ts"],
44
"compilerOptions": {
55
"skipLibCheck": true,

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@salesforce/dev-config/tsconfig",
2+
"extends": "@salesforce/dev-config/tsconfig-strict",
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",

0 commit comments

Comments
 (0)