From 3b526046a393c328bf992dc8f39b3e7962af2f75 Mon Sep 17 00:00:00 2001 From: Sergei Sevriugin Date: Sat, 9 Sep 2023 14:40:18 +0200 Subject: [PATCH] implement the fix --- modules/cmpapi/package.json | 3 ++- modules/core/package.json | 3 ++- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/cmpapi/package.json b/modules/cmpapi/package.json index d24febe4..efff3a81 100644 --- a/modules/cmpapi/package.json +++ b/modules/cmpapi/package.json @@ -25,7 +25,8 @@ "debug": "ndb mocha --no-timeouts", "serve:cov": "npx http-server ./coverage/", "test": "mocha", - "test-cov": "rm -rf coverage; nyc --reporter=html mocha" + "test-cov": "rm -rf coverage; nyc --reporter=html mocha", + "test-ci": "mocha --reporter mocha-junit-reporter" }, "peerDependencies": { "@iabtechlabtcf/core": ">=1.0.0" diff --git a/modules/core/package.json b/modules/core/package.json index a6bdf63d..913ef3d7 100644 --- a/modules/core/package.json +++ b/modules/core/package.json @@ -25,7 +25,8 @@ "debug": "ndb mocha --no-timeouts", "serve:cov": "npx http-server ./coverage/", "test": "mocha", - "test-cov": "rm -rf coverage; nyc --reporter=html mocha" + "test-cov": "rm -rf coverage; nyc --reporter=html mocha", + "test-ci": "mocha --reporter mocha-junit-reporter" }, "devDependencies": { "@iabtechlabtcf/testing": "1.5.9", diff --git a/package.json b/package.json index d240c06e..92a0912e 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "preflight": "yarn build && yarn test", "serve-cov": "npx http-server ./coverage/", "test-cov": "rm -rf coverage; nyc --reporter html mocha", - "test-ci": "mocha --reporter mocha-junit-reporter" + "test-ci": "yarn workspace @iabtechlabtcf/core test-ci && yarn workspace @iabtechlabtcf/cmpapi test-ci" }, "keywords": [ "interactive",