Add Jest to TypeScript (and update dependencies)

This commit is contained in:
Anthony Rey committed 2021-11-09 18:41:26 +01:00
1 parent 864f34ccc1
commit b0f4a15245
13 files changed
+9585 -127

No files matched your search

+15 -25
View File
@@ -6,36 +6,26 @@
"precompile": "rimraf app/**/*.js test/**/*.js",
"compile": "tsc",
"pretest": "rimraf app/**/*.js test/**/*.js",
"test": "nyc mocha"
"test:jest": "jest",
"test:jest:watch": "jest --watchAll",
"test:mocha": "nyc mocha"
},
"license": "MIT",
"private": true,
"devDependencies": {
"@types/chai": "~3.5.2",
"@types/mocha": "~2.2.41",
"@types/node": "~7.0.18",
"chai": "~4.2.0",
"mocha": "~8.2.1",
"@types/chai": "^4.2.22",
"@types/jest": "^27.0.2",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.7",
"chai": "^4.3.4",
"jest": "^27.3.1",
"mocha": "^9.1.3",
"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": [
".ts"
],
"exclude": [
"**/*.d.ts",
"test/**"
],
"require": [
"ts-node/register"
],
"reporter": [
"html",
"text"
]
"source-map-support": "^0.5.20",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.11.0",
"typescript": "^4.4.4"
}
}