From: Jérôme Benoit Date: Sat, 4 Mar 2023 06:00:57 +0000 (+0100) Subject: test: cleanup code coverage configuration X-Git-Tag: v1.1.95~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2e8a02ee53539a1640b4ca574e9c4844d4a76947;hp=b492b739f8ab88fa18543a0f796ec8e5441d36f4;p=e-mobility-charging-stations-simulator.git test: cleanup code coverage configuration Signed-off-by: Jérôme Benoit --- diff --git a/.mocharc.json b/.mocharc.json index c5a149f3..922eb321 100644 --- a/.mocharc.json +++ b/.mocharc.json @@ -13,5 +13,5 @@ "full-trace": true, "enable-source-maps": true, "exit": true, - "require": ["ts-node/register", "mochawesome/register"] + "require": ["ts-node/register/transpile-only", "mochawesome/register"] } diff --git a/.nycrc.json b/.nycrc.json index be587719..da4ba8e5 100644 --- a/.nycrc.json +++ b/.nycrc.json @@ -1,5 +1,4 @@ { - "extends": "@istanbuljs/nyc-config-typescript", "all": true, "include": ["src/**/*.ts"] } diff --git a/package-lock.json b/package-lock.json index 0a235f81..1ff0d59b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,6 @@ "devDependencies": { "@commitlint/cli": "^17.4.4", "@commitlint/config-conventional": "^17.4.4", - "@istanbuljs/nyc-config-typescript": "^1.0.2", "@mikro-orm/cli": "^5.6.13", "@release-it/bumper": "^4.0.2", "@rollup/plugin-json": "^6.0.0", @@ -1016,21 +1015,6 @@ "integrity": "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==", "dev": true }, - "node_modules/@istanbuljs/nyc-config-typescript": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@istanbuljs/nyc-config-typescript/-/nyc-config-typescript-1.0.2.tgz", - "integrity": "sha512-iKGIyMoyJuFnJRSVTZ78POIRvNnwZaWIf8vG4ZS3rQq58MMDrqEX2nnzx0R28V2X8JvmKYiqY9FP2hlJsm8A0w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2" - }, - "engines": { - "node": ">=8" - }, - "peerDependencies": { - "nyc": ">=15" - } - }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", @@ -18284,15 +18268,6 @@ "integrity": "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==", "dev": true }, - "@istanbuljs/nyc-config-typescript": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@istanbuljs/nyc-config-typescript/-/nyc-config-typescript-1.0.2.tgz", - "integrity": "sha512-iKGIyMoyJuFnJRSVTZ78POIRvNnwZaWIf8vG4ZS3rQq58MMDrqEX2nnzx0R28V2X8JvmKYiqY9FP2hlJsm8A0w==", - "dev": true, - "requires": { - "@istanbuljs/schema": "^0.1.2" - } - }, "@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", diff --git a/package.json b/package.json index 6ca5e7c9..ede01110 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,6 @@ "devDependencies": { "@commitlint/cli": "^17.4.4", "@commitlint/config-conventional": "^17.4.4", - "@istanbuljs/nyc-config-typescript": "^1.0.2", "@mikro-orm/cli": "^5.6.13", "@release-it/bumper": "^4.0.2", "@rollup/plugin-json": "^6.0.0",