From c0b10da2dc939a864163c9718e4c66f3108e5d46 Mon Sep 17 00:00:00 2001 From: Bruno Tot Date: Tue, 26 Nov 2024 15:04:02 +0100 Subject: [PATCH] chore: fix tests 2 --- packages/lib-api-client/package.json | 4 ++-- packages/lib-commons/package.json | 4 ++-- packages/lib-decorators/package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/lib-api-client/package.json b/packages/lib-api-client/package.json index 1add93be..73d90b9d 100644 --- a/packages/lib-api-client/package.json +++ b/packages/lib-api-client/package.json @@ -10,8 +10,8 @@ "clean": "rimraf dist", "lint": "eslint src", "lint:fix": "eslint src --fix", - "test": "NODE_NO_WARNINGS=1 vitest --run", - "test:coverage": "NODE_NO_WARNINGS=1 vitest --run --coverage" + "test": "nx build && NODE_NO_WARNINGS=1 vitest --run", + "test:coverage": "nx build && NODE_NO_WARNINGS=1 vitest --run --coverage" }, "keywords": [], "author": "Bruno Tot", diff --git a/packages/lib-commons/package.json b/packages/lib-commons/package.json index f9960826..a3adb565 100644 --- a/packages/lib-commons/package.json +++ b/packages/lib-commons/package.json @@ -10,8 +10,8 @@ "clean": "rimraf dist", "lint": "eslint src", "lint:fix": "eslint src --fix", - "test": "NODE_NO_WARNINGS=1 vitest --run", - "test:coverage": "NODE_NO_WARNINGS=1 vitest --run --coverage" + "test": "nx build && NODE_NO_WARNINGS=1 vitest --run", + "test:coverage": "nx build && NODE_NO_WARNINGS=1 vitest --run --coverage" }, "keywords": [], "author": "Bruno Tot", diff --git a/packages/lib-decorators/package.json b/packages/lib-decorators/package.json index bc58d401..2179c8ee 100644 --- a/packages/lib-decorators/package.json +++ b/packages/lib-decorators/package.json @@ -13,8 +13,8 @@ "clean": "rimraf dist", "lint": "eslint src", "lint:fix": "eslint src --fix", - "test": "NODE_NO_WARNINGS=1 vitest --run", - "test:coverage": "NODE_NO_WARNINGS=1 vitest --run --coverage" + "test": "nx build && NODE_NO_WARNINGS=1 vitest --run", + "test:coverage": "nx build && NODE_NO_WARNINGS=1 vitest --run --coverage" }, "dependencies": { "@org/lib-commons": "workspace:*"