From 2e8a02ee53539a1640b4ca574e9c4844d4a76947 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 4 Mar 2023 07:00:57 +0100 Subject: [PATCH 1/1] test: cleanup code coverage configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .mocharc.json | 2 +- .nycrc.json | 1 - package-lock.json | 25 ------------------------- package.json | 1 - 4 files changed, 1 insertion(+), 28 deletions(-) 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", -- 2.34.1