From cc261ca602d3f52024a0f132422f6051d6dd7ed8 Mon Sep 17 00:00:00 2001 From: Ashley Harwood Date: Thu, 28 Nov 2024 16:12:21 +1100 Subject: [PATCH] chore: update test commands --- package.json | 2 +- packages/untp-playground/jest.config.js | 1 + packages/untp-playground/package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index edd1d684..9953e2c0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "build:components": "cd packages/components && yarn run build", "build:untp-test-suite": "cd packages/untp-test-suite && yarn run build", "build-clean": "rimraf --glob ./yarn.lock ./node_modules ./packages/*/tsconfig.tsbuildinfo ./packages/*/build ./packages/*/node_modules", - "test": "lerna exec -- yarn jest --passWithNoTests", + "test": "lerna exec -- yarn jest", "test:coverage": "lerna exec -- yarn jest --coverage && rm -rf coverage && istanbul-merge --out coverage/coverage-final.json packages/*/coverage/coverage-final.json && nyc report --temp-dir=./coverage --reporter=html --reporter=json-summary", "test:components": "cd packages/components && yarn run test", "test:services": "cd packages/services && yarn run test", diff --git a/packages/untp-playground/jest.config.js b/packages/untp-playground/jest.config.js index 9a33e5d6..6878c1e3 100644 --- a/packages/untp-playground/jest.config.js +++ b/packages/untp-playground/jest.config.js @@ -34,4 +34,5 @@ module.exports = { }, ], }, + passWithNoTests: true, // TODO: remove this after adding tests }; diff --git a/packages/untp-playground/package.json b/packages/untp-playground/package.json index e97e067c..31e48058 100644 --- a/packages/untp-playground/package.json +++ b/packages/untp-playground/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "test": "jest --passWithNoTests" + "test": "jest" }, "dependencies": { "@radix-ui/react-dialog": "^1.1.2",