Skip to content

Commit

Permalink
test fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Apr 5, 2024
1 parent 558e52c commit 8600cdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integration-test/nextjs/src/app/cc/dynamic/dynamic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { expect } from "@playwright/test";
import { test } from "../../../../fixture";

const regex_connection_closed_early =
/streaming connection closed before server query could be fully transported, rerunning/;
/streaming connection closed before server query could be fully transported, rerunning/i;
const regex_query_error_restart =
/query failed on server, rerunning in browser/;
/query failed on server, rerunning in browser/i;

test.describe("CC dynamic", () => {
test.describe("useSuspenseQuery", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const dynamic = "force-dynamic";

export default function Page() {
const { data } = useSuspenseQuery(QUERY, {
context: { delay: 1000, error: "browser" },
context: { delay: 1000 },
});
globalThis.hydrationFinished?.();

Expand Down

0 comments on commit 8600cdc

Please sign in to comment.