From c8dddf1240353b5077b9221035b28b8007fc5c17 Mon Sep 17 00:00:00 2001
From: lifeparticle <mahbubzaman17@gmail.com>
Date: Sun, 11 Aug 2024 13:08:08 +1000
Subject: [PATCH] update

---
 .github/workflows/ui-pr.yml | 2 +-
 ui/package.json             | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ui-pr.yml b/.github/workflows/ui-pr.yml
index 3c5b01fc..307bb16c 100644
--- a/.github/workflows/ui-pr.yml
+++ b/.github/workflows/ui-pr.yml
@@ -28,7 +28,7 @@ jobs:
         run: yarn install --immutable
 
       - name: Run Tests
-        run: npx vitest --coverage.enabled true
+        run: yarn test:pr
 
       - name: "Report Coverage"
         if: always()
diff --git a/ui/package.json b/ui/package.json
index 56b2149e..5e973d01 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -12,6 +12,7 @@
 		"test": "vitest",
 		"test:coverage": "vitest --coverage",
 		"test:ui": "vitest --ui --coverage.enabled=true",
+		"test:pr": "vitest --coverage.enabled true",
 		"coverage:preview": "npx vite preview --outDir ./html",
 		"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
 		"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",