From 9d9a455eb6f3a21493f2be9fe59aed9155278078 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 4 Dec 2024 10:32:58 -0700 Subject: [PATCH] Update useSuspenseQuery tests to adjust for changes in render stream library --- .../hooks/__tests__/useSuspenseQuery.test.tsx | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/react/hooks/__tests__/useSuspenseQuery.test.tsx b/src/react/hooks/__tests__/useSuspenseQuery.test.tsx index 52921fa4900..72c2e4050e8 100644 --- a/src/react/hooks/__tests__/useSuspenseQuery.test.tsx +++ b/src/react/hooks/__tests__/useSuspenseQuery.test.tsx @@ -10897,7 +10897,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( Loading...}> , @@ -10988,7 +10989,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( , @@ -11076,7 +11078,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( , @@ -11165,7 +11168,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( , @@ -11283,7 +11287,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( , @@ -11410,7 +11415,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( , @@ -11510,7 +11516,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( , @@ -11629,7 +11636,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( , @@ -11732,7 +11740,8 @@ describe("useSuspenseQuery", () => { return null; } - renderStream.render( + using _disabledAct = disableActEnvironment(); + await renderStream.render( ,