diff --git a/test/server/route.js b/test/server/route.js index 2ff9a010..060d997b 100644 --- a/test/server/route.js +++ b/test/server/route.js @@ -101,6 +101,20 @@ test('cloudcmd: route: buttons: one file panel: move', async (t) => { await done(); }); +test('cloudcmd: route: buttons: no one file panel: move', async (t) => { + const config = { + oneFilePanel: false + }; + + const {port, done} = await connect({config}); + const result = await getStr(`http://localhost:${port}`); + + t.notOk(/icon-move none/.test(result), 'should not hide move button'); + t.end(); + + await done(); +}); + test('cloudcmd: route: buttons: one file panel: move', async (t) => { const config = { oneFilePanel: true