Skip to content

Commit 1125b60

Browse files
test: fix
1 parent 790117d commit 1125b60

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/web-socket-server-url.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2688,7 +2688,9 @@ describe("web socket server URL", () => {
26882688
consoleMessages.map((message) => message.text()),
26892689
).toMatchSnapshot("console messages");
26902690
expect(
2691-
pageErrors.map((pageError) => pageError.message.split("\n")[0]),
2691+
pageErrors.map((pageError) =>
2692+
pageError.message.split("\n")[0].replace("SyntaxError: ", ""),
2693+
),
26922694
).toMatchSnapshot("page errors");
26932695
} catch (error) {
26942696
throw error;

0 commit comments

Comments
 (0)