Use vitest instead of jest (#50150)
This commit is contained in:
11
vitest.config.ts
Normal file
11
vitest.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export default {
|
||||
test: {
|
||||
// Default is `['**/*.{test,spec}.?(c|m)[jt]s?(x)']`
|
||||
include: ['**/*.{test}.?(c|m)[jt]s?(x)', 'src/**/tests/*.[jt]s', 'src/**/tests/**/*.[jt]s'],
|
||||
exclude: ['**/tests/playwright-*.spec.ts'],
|
||||
// Default is `!process.env.CI`
|
||||
watch: false,
|
||||
|
||||
globalSetup: './src/tests/vitest.setup.ts',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user