diff --git a/test/server/route.js b/test/server/route.js index 48a5e6e7..a0a6ae6f 100644 --- a/test/server/route.js +++ b/test/server/route.js @@ -196,6 +196,22 @@ test('cloudcmd: route: file', (t) => { }); }); +test('cloudcmd: route: file: fs', (t) => { + const root = path.join(__dirname, '..', 'fixture', 'empty-file'); + const config = { + root, + }; + + before({config}, (port, after) => { + getStr(`http://localhost:${port}/fs`) + .then((empty) => { + t.equal(empty, '', 'should equal'); + t.end(); + after(); + }); + }); +}); + test('cloudcmd: route: symlink', (t) => { const emptyDir = path.join(__dirname, '..', 'fixture', 'empty-dir'); const root = path.join(__dirname, '..', 'fixture');