Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
eltigerchino committed Dec 16, 2024
1 parent d70161e commit 5d93270
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/kit/test/apps/basics/test/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,9 @@ test.describe('Errors', () => {
expect(await res_json.json()).toEqual({
type: 'error',
error: {
message:
'POST method not allowed. No form actions exist for the page at /errors/missing-actions (405 Method Not Allowed)'
message: process.env.DEV
? 'POST method not allowed. No form actions exist for the page at /errors/missing-actions (405 Method Not Allowed)'
: 'POST method not allowed. No form actions exist for this page (405 Method Not Allowed)'
}
});
});
Expand Down

0 comments on commit 5d93270

Please sign in to comment.