1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Use vitest instead of jest (#50150)

This commit is contained in:
Peter Bengtsson
2024-04-16 13:07:22 -04:00
committed by GitHub
parent e53e71820d
commit e0c8c80982
167 changed files with 1876 additions and 351 deletions

11
vitest.config.ts Normal file
View 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',
},
}