From 22130f494c9d43f79c4cab5b5f91e99feaffd296 Mon Sep 17 00:00:00 2001 From: soheilous Date: Fri, 10 May 2024 01:08:00 +0330 Subject: [PATCH] fix(root): add `test:coverage` scripts --- .husky/pre-commit | 2 +- package.json | 1 + turbo.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index f9f3cd0..4d7607d 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npx lint-staged && npm run check:types && npm run test:dev && npm run build +npx lint-staged && npm run check:types && npm run test:coverage && npm run build diff --git a/package.json b/package.json index b4dc9d8..429626c 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "start:production": "turbo start:production", "test": "turbo run test", "test:dev": "turbo run test:dev", + "test:coverage": "turbo run test:coverage", "test:dev:coverage": "turbo run test:dev:coverage", "test:dev:watch": "turbo run test:dev:watch" }, diff --git a/turbo.json b/turbo.json index 65e043e..587a766 100644 --- a/turbo.json +++ b/turbo.json @@ -37,6 +37,7 @@ "persistent": true }, "test": {}, + "test:coverage": {}, "test:dev": {}, "test:dev:coverage": {}, "test:dev:watch": {