Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 13, 2023
1 parent d31afbb commit 231f212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/kit/test/apps/basics/test/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ test.describe('Load', () => {
test('accessing url.hash from load errors and suggests using page store', async ({ page }) => {
await page.goto('/load/url-hash#please-dont-send-me-to-load');
expect(await page.textContent('#message')).toBe(
'This is your custom error page saying: "Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instea (500 Internal Error)"'
'This is your custom error page saying: "Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead (500 Internal Error)"'
);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ test.describe.serial('Errors', () => {

expect(await page.textContent('footer')).toBe('Custom layout');
expect(await page.textContent('#message')).toBe(
'This is your custom error page saying: "Crashing now"'
'This is your custom error page saying: "Crashing now (500 Internal Error)"'
);
});

Expand Down

0 comments on commit 231f212

Please sign in to comment.