Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: option disabling parsing in the onRequest phase #204

Merged
merged 20 commits into from
Aug 29, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test/cookie.test.js
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
  • Loading branch information
vitaly-sazonov and Eomm authored Aug 24, 2022
commit 01a33e4a798279d5e3473b858e89a4d5fc080b50
1 change: 0 additions & 1 deletion test/cookie.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,6 @@ test('result in an error if hook-option is set to an invalid value', (t) => {
t.rejects(
() => fastify.register(plugin, { hook: true }),
{},
vitaly-sazonov marked this conversation as resolved.
Show resolved Hide resolved
{ skip: true },
new Error("@fastify/cookie: Invalid value provided for the hook-option. You can set the hook-option only to false, 'onRequest' , 'preParsing' , 'preValidation' or 'preHandler'")
)
})