mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
feature(package) supertape v3.10.0
This commit is contained in:
parent
4d8f489b18
commit
b18b6af4dc
30 changed files with 86 additions and 84 deletions
|
|
@ -41,7 +41,7 @@ test('cloudcmd: static: user menu: IO.write', async (t) => {
|
|||
});
|
||||
|
||||
const path = '/.cloudcmd.menu.js';
|
||||
t.ok(write.calledWith(path, _data), 'should call IO.write');
|
||||
t.calledWith(write, [path, _data], 'should call IO.write');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ test('cloudcmd: static: user menu: setCurrentByName', async (t) => {
|
|||
});
|
||||
|
||||
const fileName = '.cloudcmd.menu.js';
|
||||
t.ok(setCurrentByName.calledWith(fileName), 'should call DOM.setCurrentByName');
|
||||
t.calledWith(setCurrentByName, [fileName], 'should call DOM.setCurrentByName');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ test('cloudcmd: static: user menu: compare directories', async (t) => {
|
|||
});
|
||||
|
||||
const {files} = DOM.CurrentInfo.files;
|
||||
t.ok(DOM.getFilenames.calledWith(files), 'should call getFilenames');
|
||||
t.calledWith(DOM.getFilenames, [files], 'should call getFilenames');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -138,7 +138,7 @@ test('cloudcmd: static: user menu: compare directories: select names', (t) => {
|
|||
getCurrentByName,
|
||||
});
|
||||
|
||||
t.ok(selectFile.calledWith(file), 'should call selectFile');
|
||||
t.calledWith(selectFile, [file], 'should call selectFile');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -156,7 +156,7 @@ test('cloudcmd: static: user menu: compare directories: select names: getCurrent
|
|||
getCurrentByName,
|
||||
});
|
||||
|
||||
t.ok(getCurrentByName.calledWith(name, panel), 'should call selectFile');
|
||||
t.calledWith(getCurrentByName, [name, panel], 'should call selectFile');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue