Skip to content

Commit 0439303

Browse files
committed
Updates dependencies and adds ts-node support.
Only bumped Chai to 3.5.0 because 4.x broke deep equality checks of Errors. ts-node support lets us avoid having to compile the tests to the output directory.
1 parent a8e5fc8 commit 0439303

File tree

5 files changed

+550
-207
lines changed

5 files changed

+550
-207
lines changed

.npmignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules/
22
.git/
3-
output/tests/
43
tests/
54
.vscode/
65
output/.editorconfig

.vscode/launch.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"request": "launch",
1010
"name": "Mocha Tests",
1111
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
12-
"args": [ "--timeout", "999999", "--recursive", "--colors", "${workspaceRoot}/output/tests" ],
13-
"sourceMaps": true,
14-
"outFiles": [ "${workspaceRoot}/output/**/*.js" ],
12+
"args": [ "--require", "ts-node/register", "--timeout", "999999", "--recursive", "--colors", "${workspaceRoot}/tests/**/*.ts" ],
1513
"internalConsoleOptions": "openOnSessionStart"
1614
}
1715
]

0 commit comments

Comments
 (0)