mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
test: vitest disable ssr for tsx files (#7194)
https://vitest.dev/config/#transformmode-web
This commit is contained in:
parent
83aba9fd7a
commit
8b7d29989a
@ -12,5 +12,8 @@ export default defineConfig({
|
||||
include: ['**/*.vitest.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||||
exclude: ['**/*.test.*', '**/*.spec.*', '**/node_modules'],
|
||||
environment: 'jsdom',
|
||||
transformMode: {
|
||||
web: [/\.[jt]sx$/],
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user