Merge pull request #206 from Neppord/fix-typescript

Update typescript dependencies and the mocharc file
This commit is contained in:
Emily Bache 2021-01-28 12:27:39 +01:00 committed by GitHub
commit 33373d6fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 12 deletions

10
TypeScript/.mocharc.js Normal file
View File

@ -0,0 +1,10 @@
"use strict";
module.exports = {
require: [
"ts-node/register",
"source-map-support/register"
],
recursive: true,
spec: "test/*.spec.ts"
}

View File

@ -14,13 +14,13 @@
"@types/chai": "~3.5.2",
"@types/mocha": "~2.2.41",
"@types/node": "~7.0.18",
"chai": "~3.5.0",
"mocha": "~3.2.0",
"nyc": "~11.0.3",
"rimraf": "~2.5.2",
"source-map-support": "0.5.9",
"ts-node": "~3.1.0",
"typescript": "~3.0.3"
"chai": "~4.2.0",
"mocha": "~8.2.1",
"nyc": "~15.1.0",
"rimraf": "~3.0.2",
"source-map-support": "0.5.19",
"ts-node": "~9.1.1",
"typescript": "~4.1.3"
},
"nyc": {
"extension": [
@ -39,4 +39,3 @@
]
}
}

View File

@ -1,4 +0,0 @@
--compilers ts-node/register
--require source-map-support/register
--recursive
test/**/*.spec.ts