chore: migrate server tests from Jest to Vitest

This commit is contained in:
neon
2026-03-11 13:30:04 -06:00
parent b64aa519ef
commit 4c4a5cbf25
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ jobs:
JUNIT_OUTPUT: ${{ github.workspace }}/test-results/${{ matrix.package }}/junit.xml
run: |
if [[ "$PACKAGE" == "server" ]]; then
JEST_JUNIT_OUTPUT_FILE="$JUNIT_OUTPUT" pnpm --filter server exec jest --ci --reporters=default --reporters=jest-junit
pnpm --filter server exec vitest --run --reporter=default --reporter=github-actions --reporter=junit --outputFile.junit="$JUNIT_OUTPUT"
else
pnpm --filter client exec vitest --run --reporter=default --reporter=junit --outputFile="$JUNIT_OUTPUT"
fi