Skip to content

Commit 930d949

Browse files
committed
test: loosen hydration error message
1 parent ea364d0 commit 930d949

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/plugin-rsc/e2e/basic.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -923,9 +923,7 @@ function defineTest(f: Fixture) {
923923
expect(errors).toMatchObject([
924924
{
925925
message: expect.stringContaining(
926-
f.mode === 'dev'
927-
? `Hydration failed because the server rendered HTML didn't match the client.`
928-
: `Minified React error #418`,
926+
f.mode === 'dev' ? `Hydration failed` : `Minified React error #418`,
929927
),
930928
},
931929
])

0 commit comments

Comments
 (0)