forked from shapeshift/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest-web.config.mts
More file actions
24 lines (22 loc) · 818 Bytes
/
Copy pathvitest-web.config.mts
File metadata and controls
24 lines (22 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { defineConfig, mergeConfig } from 'vitest/config'
import vitestConfig from './vitest.config.mts'
// eslint-disable-next-line import/no-default-export
export default defineConfig(configEnv =>
mergeConfig(
vitestConfig(configEnv),
defineConfig({
test: {
environment: 'happy-dom',
include: ['src/**/*.test.ts', 'src/**/*test.tsx'],
exclude: [
// See vitest-side-effects.config.ts
'src/lib/poll/poll.test.ts',
'src/lib/cryptography/login.test.ts',
// Temporarily skipped until https://github.com/shapeshift/hdwallet/pull/666 goes in
'src/components/Modals/Send/hooks/useSendDetails/useSendDetails.test.tsx',
'src/components/Modals/Send/hooks/useFormSend/useFormSend.test.tsx',
],
},
}),
),
)