test(ui): i corrected UI Testing
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user