Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksrandall committed Aug 17, 2024
1 parent c622964 commit b321843
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/validator/validator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,14 @@ describe('FormData', () => {
const form = new FormData()
form.append('foo', 'bar1')
form.append('foo', 'bar2')
form.append('foo', 'bar3')
const res = await app.request('/post', {
method: 'POST',
body: form,
})
expect(res.status).toBe(200)
expect(await res.json()).toEqual({
foo: ['bar1', 'bar2'],
foo: ['bar1', 'bar2', 'bar3'],
})
})
})
Expand Down

0 comments on commit b321843

Please sign in to comment.