test: use configured DOM environment

This commit is contained in:
Thomas Camlong committed 2026-08-23 09:00:34 +02:00
1 parent 0073dfe044
commit 382cffc015
2 files changed
-4

No files matched your search

@@ -1,5 +1,3 @@
// @vitest-environment jsdom
import { dehydrate, QueryClient } from "@tanstack/react-query";
import type { PersistedClient } from "@tanstack/react-query-persist-client";
import { persistQueryClientRestore } from "@tanstack/react-query-persist-client";
@@ -1,5 +1,3 @@
// @vitest-environment jsdom
import { act } from "react";
import { hydrateRoot } from "react-dom/client";
import { renderToString } from "react-dom/server";