mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-04 01:21:19 +03:00
test: update test command to run without watch mode
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
13ea00e7f8
commit
35599230ff
2
Makefile
2
Makefile
@ -46,7 +46,7 @@ testrace: ##@Development Run Go tests with race detector
|
|||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
testall: testrace ##@Development Run Go and JS tests
|
testall: testrace ##@Development Run Go and JS tests
|
||||||
@(cd ./ui && npm run test:ci)
|
@(cd ./ui && npm run test)
|
||||||
.PHONY: testall
|
.PHONY: testall
|
||||||
|
|
||||||
install-golangci-lint: ##@Development Install golangci-lint if not present
|
install-golangci-lint: ##@Development Install golangci-lint if not present
|
||||||
|
@ -3,4 +3,5 @@ build/
|
|||||||
prettier.config.js
|
prettier.config.js
|
||||||
.eslintrc
|
.eslintrc
|
||||||
vite.config.js
|
vite.config.js
|
||||||
public/3rdparty/workbox
|
public/3rdparty/workbox
|
||||||
|
coverage/
|
@ -6,8 +6,8 @@
|
|||||||
"start": "vite",
|
"start": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"test": "vitest",
|
"test:watch": "vitest",
|
||||||
"test:ci": "vitest --watch=false",
|
"test": "vitest --watch=false",
|
||||||
"test:coverage": "vitest run --coverage --watch=false",
|
"test:coverage": "vitest run --coverage --watch=false",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
"lint": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",
|
"lint": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user