From ca8be3ab1aaae081bdfb5b765a8c3a26cf7ff5e4 Mon Sep 17 00:00:00 2001 From: aarontravass Date: Mon, 19 Jun 2023 17:28:08 -0400 Subject: [PATCH] test: fixed hanging test --- tests/modules/res.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/res.test.ts b/tests/modules/res.test.ts index edd3499..36171d2 100644 --- a/tests/modules/res.test.ts +++ b/tests/modules/res.test.ts @@ -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)