mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
85015881d0
commit
3172759ca0
6 changed files with 10 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ test('cloudcmd: static: user menu: IO.write', async (t) => {
|
|||
});
|
||||
|
||||
const path = '/.cloudcmd.menu.js';
|
||||
|
||||
t.calledWith(write, [path, _data], 'should call IO.write');
|
||||
t.end();
|
||||
});
|
||||
|
|
@ -72,6 +73,7 @@ test('cloudcmd: static: user menu: setCurrentByName', async (t) => {
|
|||
});
|
||||
|
||||
const fileName = '.cloudcmd.menu.js';
|
||||
|
||||
t.calledWith(setCurrentByName, [fileName], 'should call DOM.setCurrentByName');
|
||||
t.end();
|
||||
});
|
||||
|
|
@ -120,6 +122,7 @@ test('cloudcmd: static: user menu: compare directories', async (t) => {
|
|||
});
|
||||
|
||||
const {files} = DOM.CurrentInfo.files;
|
||||
|
||||
t.calledWith(DOM.getFilenames, [files], 'should call getFilenames');
|
||||
t.end();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue