feat(ci/client): HTML output

This commit is contained in:
Elian Doran 2026-03-05 22:07:11 +02:00
parent 85d8c4c8fa
commit 9b4f8c5003
No known key found for this signature in database
2 changed files with 13 additions and 1 deletions

View File

@ -40,6 +40,14 @@ jobs:
- name: Run the client-side tests
run: pnpm run --filter=client test
- name: Upload client test report
uses: actions/upload-artifact@v4
if: always()
with:
name: client-test-report
path: apps/client/test-output/vitest/html/
retention-days: 30
- name: Run the server-side tests
run: pnpm run --filter=server test

View File

@ -120,7 +120,11 @@ export default defineConfig(() => ({
environment: "happy-dom",
setupFiles: [
"./src/test/setup.ts"
]
],
reporters: [
"verbose",
["html", { outputFile: "./test-output/vitest/html/index.html" }]
],
},
commonjsOptions: {
transformMixedEsModules: true,