diff --git a/Makefile b/Makefile index 8f90a80cc..8425f6998 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ testrace: ##@Development Run Go tests with race detector .PHONY: test testall: testrace ##@Development Run Go and JS tests - @(cd ./ui && npm run test:ci) + @(cd ./ui && npm run test) .PHONY: testall install-golangci-lint: ##@Development Install golangci-lint if not present diff --git a/ui/.eslintignore b/ui/.eslintignore index 82026e6c6..86c39adb2 100644 --- a/ui/.eslintignore +++ b/ui/.eslintignore @@ -3,4 +3,5 @@ build/ prettier.config.js .eslintrc vite.config.js -public/3rdparty/workbox \ No newline at end of file +public/3rdparty/workbox +coverage/ \ No newline at end of file diff --git a/ui/package.json b/ui/package.json index d329f958e..5011e760c 100644 --- a/ui/package.json +++ b/ui/package.json @@ -6,8 +6,8 @@ "start": "vite", "build": "vite build", "serve": "vite preview", - "test": "vitest", - "test:ci": "vitest --watch=false", + "test:watch": "vitest", + "test": "vitest --watch=false", "test:coverage": "vitest run --coverage --watch=false", "type-check": "tsc --noEmit", "lint": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",