From 4fae5eb90d68191150fd37c61d4b09ac5341e3a8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 13 Mar 2021 00:18:46 +0900 Subject: [PATCH] add test --- test/fetch-resource.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/fetch-resource.ts b/test/fetch-resource.ts index 72ef133ef..ba1c530e8 100644 --- a/test/fetch-resource.ts +++ b/test/fetch-resource.ts @@ -68,6 +68,11 @@ describe('Fetch resource', () => { const res = await simpleGet('/api.json', 'application/json'); assert.strictEqual(res.status, 200); })); + + it('GET favicon.ico', async(async () => { + const res = await simpleGet('/favicon.ico', 'image/png'); + assert.strictEqual(res.status, 200); + })); }); describe('/@:username', () => {