Skip to content

Commit

Permalink
fix an import
Browse files Browse the repository at this point in the history
  • Loading branch information
ahkhanjani committed Nov 18, 2024
1 parent 17fce04 commit 999dc23
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/react-resizable-panels/src/Panel.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1032,10 +1032,7 @@ describe("PanelGroup", () => {
const { TextEncoder } = await import("util");
global.TextEncoder = TextEncoder;

const { renderToStaticMarkup } = (await import(
// @ts-expect-error No type definitions for server.browser
"react-dom/server.browser"
)) as typeof import("react-dom/server");
const { renderToStaticMarkup } = await import("react-dom/server");
const { act } = await import("react-dom/test-utils");
const { Panel } = await import("./Panel");
const { PanelGroup } = await import("./PanelGroup");
Expand Down

0 comments on commit 999dc23

Please sign in to comment.