Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Nov 29, 2023
1 parent c6778e0 commit a8b4810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration/client-data-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ test.describe("Client Data", () => {

await app.goto("/parent/child");
html = await app.getHtml("main");
await page.waitForSelector("#child-deferred-data");
expect(html).toMatch("Parent Server Loader");
// app.goto() doesn't resolve until the document finishes loading so by
// then the HTML has updated via the streamed suspense updates
Expand Down

0 comments on commit a8b4810

Please sign in to comment.