Skip to content

Commit

Permalink
Update useSuspenseQuery tests to adjust for changes in render stream …
Browse files Browse the repository at this point in the history
…library
  • Loading branch information
jerelmiller committed Dec 4, 2024
1 parent cf6fb17 commit 9d9a455
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions src/react/hooks/__tests__/useSuspenseQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10897,7 +10897,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback={<div>Loading...</div>}>
<App />
</Suspense>,
Expand Down Expand Up @@ -10988,7 +10989,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down Expand Up @@ -11076,7 +11078,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down Expand Up @@ -11165,7 +11168,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down Expand Up @@ -11283,7 +11287,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down Expand Up @@ -11410,7 +11415,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down Expand Up @@ -11510,7 +11516,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down Expand Up @@ -11629,7 +11636,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down Expand Up @@ -11732,7 +11740,8 @@ describe("useSuspenseQuery", () => {
return null;
}

renderStream.render(
using _disabledAct = disableActEnvironment();
await renderStream.render(
<Suspense fallback="Loading">
<App />
</Suspense>,
Expand Down

0 comments on commit 9d9a455

Please sign in to comment.