Skip to content

Commit

Permalink
Fix test for xplat, alwaysThrottleRetries
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Pope committed Nov 8, 2024
1 parent 6677c63 commit 3f356bf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,9 @@ describe('useSyncExternalStore', () => {
assertLog([
...(gate('enableSiblingPrerendering')
? ['A', 'B', 'A', 'B', 'B']
: ['A', '(not set)', 'A', '(not set)', 'B']),
: gate(flags => flags.alwaysThrottleRetries)
? ['A', '(not set)', 'A', '(not set)', 'B']
: ['A', '(not set)', 'A', '(not set)', '(not set)', 'B']),
]);

expect(root).toMatchRenderedOutput('AB');
Expand Down

0 comments on commit 3f356bf

Please sign in to comment.