Skip to content

Commit

Permalink
test: fixed hanging test
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontravass committed Jun 19, 2023
1 parent 6317e79 commit ca8be3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/modules/res.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ describe('Response extensions', () => {
path.join(Deno.cwd(), 'tests/fixtures'),
'some_file.png',
(err) => {
expect((err as Error).message).toContain('Access is denied')
expect((err as Error).message).toContain('readfile')
}
)
return new Response(res._body, res._init)
Expand Down

0 comments on commit ca8be3a

Please sign in to comment.