We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d262e9 commit a80c120Copy full SHA for a80c120
vitest.config.ts
@@ -38,6 +38,15 @@ export default defineConfig({
38
test: {
39
name: 'react',
40
environment: 'happy-dom',
41
+ environmentOptions: {
42
+ happyDOM: {
43
+ settings: {
44
+ fetch: {
45
+ disableSameOriginPolicy: true,
46
+ },
47
48
49
50
setupFiles: [resolve(__dirname, './packages/react/vitest.setup.ts')],
51
include: ['packages/react/**/*.test.{ts,tsx}'],
52
typecheck: {
0 commit comments