test: move to @testdeck/mocha

This commit is contained in:
Rainer Killinger
2022-08-17 10:13:26 +02:00
parent e6e75db3e8
commit 82a3651fb3
9 changed files with 193 additions and 835 deletions

View File

@@ -17,7 +17,7 @@
"prepublishOnly": "npm ci && npm run build",
"preversion": "npm run prepublishOnly",
"push": "git push && git push origin \"v$npm_package_version\"",
"test": "nyc mocha --require ts-node/register --ui mocha-typescript 'test/**/*.spec.ts'",
"test": "nyc mocha --require source-map-support/register --require ts-node/register 'test/**/*.spec.ts'",
"lint": "eslint --ext .ts src/"
},
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
@@ -39,6 +39,7 @@
"devDependencies": {
"@openstapps/configuration": "0.32.2",
"@openstapps/eslint-config": "1.1.0",
"@testdeck/mocha": "0.2.0",
"@types/chai": "4.3.3",
"@types/chai-as-promised": "7.1.5",
"@types/chai-spies": "1.0.3",
@@ -55,7 +56,6 @@
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-unicorn": "43.0.2",
"mocha": "9.2.2",
"mocha-typescript": "1.1.17",
"nyc": "15.1.0",
"prepend-file-cli": "1.0.6",
"prettier": "2.7.1",