Skip to content

Commit 6fb3c95

Browse files
committed
Updated test compiler settings
1 parent e59b384 commit 6fb3c95

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import * as path from 'path';
2-
import * as Mocha from 'mocha';
3-
import * as glob from 'glob';
1+
import path from 'path';
2+
import Mocha from 'mocha';
3+
import glob from 'glob';
44

55
export function run(): Promise<void> {
66
// Create the mocha test

tsconfig.test.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"lib": ["ES2020"],
77
"sourceMap": true,
88
"rootDir": ".",
9-
"resolveJsonModule": true
9+
"resolveJsonModule": true,
10+
"esModuleInterop": true,
11+
"removeComments": true
1012
},
1113
"include": ["test/**/*.ts", "syntaxes/*.json"],
1214
"exclude": ["node_modules", ".vscode-test"]

0 commit comments

Comments
 (0)