Skip to content

Commit cdfcf9b

Browse files
committed
Error message changed
1 parent 729da75 commit cdfcf9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/custom-error/test/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('Custom _error', () => {
4141
await retry(async () => {
4242
// retry because the page might not be built yet
4343
const html = await renderViaHTTP(appPort, '/404')
44-
expect(html).toContain('Unexpected token')
44+
expect(html).toContain('Unexpected eof')
4545
expect(stderr).not.toMatch(customErrNo404Match)
4646
})
4747
} finally {

0 commit comments

Comments
 (0)