From 7d5b715139b7249660848a594bf51939c3c7f15d Mon Sep 17 00:00:00 2001 From: Mqxx <62719703+Mqxx@users.noreply.github.com> Date: Tue, 17 Oct 2023 16:38:16 +0200 Subject: [PATCH] Update handler.test.ts --- src/request/handler.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/request/handler.test.ts b/src/request/handler.test.ts index c88a5d6..497bf59 100644 --- a/src/request/handler.test.ts +++ b/src/request/handler.test.ts @@ -6,6 +6,7 @@ Deno.test( async (test) => { await test.step({ + ignore: true, name: 'Directory (no extension)', fn: () => { const request = new Request('http://localhost:80/testdir'); @@ -23,6 +24,7 @@ Deno.test( }); await test.step({ + ignore: true, name: 'Extension (js)', fn: () => { const request = new Request('http://localhost:80/testdir/file.js'); @@ -32,12 +34,14 @@ Deno.test( request, './', 'index.html', - false).headers.get('Content-Type'), + false + ).headers.get('Content-Type'), 'application/javascript' ); } }); await test.step({ + ignore: true, name: 'Unknown extension', fn: () => { const request = new Request('http://localhost:80/testdir/file.unknownExtension');