test: exclude local worktrees from vitest discovery
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m4s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m4s
This commit is contained in:
parent
369d6f6886
commit
02f917ba76
@ -1,8 +1,9 @@
|
|||||||
import { defineConfig } from 'vitest/config';
|
import { configDefaults, defineConfig } from 'vitest/config';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
test: {
|
test: {
|
||||||
environment: 'node',
|
environment: 'node',
|
||||||
setupFiles: ['./src/test/setup.ts'],
|
setupFiles: ['./src/test/setup.ts'],
|
||||||
|
exclude: [...configDefaults.exclude, '**/.worktrees/**'],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user