Skip to content

Commit 98c5bda

Browse files
committed
use happy-dom instead of jsdom
1 parent b91afac commit 98c5bda

File tree

3 files changed

+78
-70
lines changed

3 files changed

+78
-70
lines changed

packages/clients/tanstack-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@zenstackhq/sdk": "workspace:*",
5252
"@zenstackhq/typescript-config": "workspace:*",
5353
"@zenstackhq/vitest-config": "workspace:*",
54-
"jsdom": "^27.1.0",
54+
"happy-dom": "^20.0.10",
5555
"nock": "^14.0.10",
5656
"react": "catalog:"
5757
},

packages/clients/tanstack-query/test/react-query.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @vitest-environment jsdom
2+
* @vitest-environment happy-dom
33
*/
44

55
import { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query';

0 commit comments

Comments
 (0)