test: update test command to run without watch mode

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-05-24 22:58:04 -04:00
parent 13ea00e7f8
commit 35599230ff
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -3,4 +3,5 @@ build/
prettier.config.js
.eslintrc
vite.config.js
public/3rdparty/workbox
public/3rdparty/workbox
coverage/

View File

@ -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",