From 098b9299dee8cfaa40c4eb3ebf736f92c3598fe2 Mon Sep 17 00:00:00 2001 From: TPReal Date: Thu, 2 Nov 2023 16:45:23 +0100 Subject: [PATCH] Configured "npm run test" to run the test once, and "npm run test-watch" for continuous testing. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8bbdc501f..64f6fa917 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "typecheck": "tsc --noEmit", "typecheck-watch": "tsc --noEmit --watch", "preinstall": "npx -y only-allow npm", - "test": "vitest", + "test": "vitest run", + "test-watch": "vitest watch", "coverage": "vitest run --coverage", "lint": "eslint resources/js" },