13 lines
505 B
TOML
13 lines
505 B
TOML
# 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"
|