test(ui): i corrected UI Testing

This commit is contained in:
2026-04-08 01:45:12 +00:00
parent 5d378ccb56
commit 546bf65b8b
10 changed files with 84 additions and 41 deletions
+12
View File
@@ -0,0 +1,12 @@
# The UI project uses Vitest (via `bun run test:unit`) for unit tests, not Bun's native test runner.
# Bun's runner lacks support for vi.hoisted, SvelteKit virtual modules ($env, $app), and jsdom.
#
# To run tests:
# Unit tests: bun run test:unit -- --run
# E2E tests: bun run test:e2e
# All tests: bun run test
#
# This configuration points Bun's test discovery at an isolated directory so that
# `bun test` does not erroneously pick up Vitest-formatted spec files.
[test]
root = ".bun-tests"