Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/ui/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ export default defineConfig({
include: ['src/**/*.{test,spec}.{js,ts}'],
exclude: ['src/**/*-ssr.test.ts'],
globals: true,
// One test file at a time. In parallel, each file runs in its own iframe, and the browser
// throttles the frames that are off screen and moves the focus between them: presence
// exits that wait for a frame stall, and a focus that lands on a trigger opens a tooltip
// nobody asked for. Serial runs cost a minute; the flakes cost a rerun each.
fileParallelism: false,
alias: {
$lib: resolve(__dirname, './src/lib'),
'$app/environment': resolve(__dirname, './src/lib/test-mocks/app-environment.ts'),
Expand Down
Loading