test: cleanup code coverage configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 4 Mar 2023 06:00:57 +0000 (07:00 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 4 Mar 2023 06:00:57 +0000 (07:00 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.mocharc.json
.nycrc.json
package-lock.json
package.json

index c5a149f378fdf9364992f82f9ab090fe9e700f9a..922eb321dc6c665c791027e543f23ac27f4b6656 100644 (file)
@@ -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"]
 }
index be58771984ce7329dc820735b8c53a9ec2fac2ca..da4ba8e5b344ad25e950ff8733eb46ac9781213f 100644 (file)
@@ -1,5 +1,4 @@
 {
-  "extends": "@istanbuljs/nyc-config-typescript",
   "all": true,
   "include": ["src/**/*.ts"]
 }
index 0a235f81a7b405b73d289e03482a2bcd850191d9..1ff0d59b08de516149bbee9833e3f9ada504d595 100644 (file)
@@ -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",
       "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",
       "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",
index 6ca5e7c93eca123799c9af4cf10809ea34dd9fdf..ede01110cc3d911d38a6d64836d67bf612d1713b 100644 (file)
   "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",