chore: add mise test tasks
This commit is contained in:
@@ -38,6 +38,14 @@ run = "backend/mvnw -f backend/pom.xml spring-boot:run"
|
|||||||
description = "Run the Vite frontend"
|
description = "Run the Vite frontend"
|
||||||
run = "npm --prefix frontend run dev"
|
run = "npm --prefix frontend run dev"
|
||||||
|
|
||||||
|
[tasks.test-backend]
|
||||||
|
description = "Run backend tests"
|
||||||
|
run = "backend/mvnw -f backend/pom.xml test -q"
|
||||||
|
|
||||||
|
[tasks.test-frontend]
|
||||||
|
description = "Run frontend tests"
|
||||||
|
run = "cd frontend && npx vitest run"
|
||||||
|
|
||||||
[tasks.check]
|
[tasks.check]
|
||||||
description = "Format-check, lint, and test"
|
description = "Format-check, lint, and test"
|
||||||
run = """
|
run = """
|
||||||
|
|||||||
Reference in New Issue
Block a user