Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed Jul 1, 2024
1 parent 01be4f8 commit c58e58d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/validator/validator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,9 +917,8 @@ describe('Clone Request object', () => {
await next()
},
validator('form', (value) => {
// the value should not be a FormData
if (value instanceof FormData) {
throw new Error('value should be FormData')
throw new Error('The value should not be a FormData')
}
return value
}),
Expand Down

0 comments on commit c58e58d

Please sign in to comment.