From 98734e345f8787e9a2cabcba963327681433d319 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 15 Nov 2019 17:42:47 +0200 Subject: [PATCH] test(route) rm broken test --- server/route.spec.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/server/route.spec.js b/server/route.spec.js index b0d8c0da..f43dced8 100644 --- a/server/route.spec.js +++ b/server/route.spec.js @@ -176,27 +176,6 @@ test('cloudcmd: route: keys panel', async (t) => { t.end(); }); -test('cloudcmd: route: file: fs', async (t) => { - const root = path.join(fixtureDir, 'empty-file'); - const config = { - root, - }; - - const options = { - config, - }; - - const {body} = await request.get('/', { - options, - }); - - const expected = 'EISDIR: illegal operation on a directory, read'; - - // body empty on node v10 and v12 on mac os - t.ok(!body || body.includes(expected), 'should equal'); - t.end(); -}); - test('cloudcmd: route: symlink', async (t) => { const emptyDir = path.join(fixtureDir, 'empty-dir'); const root = fixtureDir;