mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
test: static: user-menu: compare directories
This commit is contained in:
parent
6e3ba27131
commit
f5cabc7696
1 changed files with 4 additions and 3 deletions
|
|
@ -243,17 +243,17 @@ test('cloudcmd: static: user menu: no EditFile.show', async (t) => {
|
|||
t.end();
|
||||
});
|
||||
|
||||
test('cloudcmd: static: user menu: compare directories', async (t) => {
|
||||
test('cloudcmd: static: user menu: compare directories', (t) => {
|
||||
const name = 'D - Compare directories';
|
||||
const DOM = getDOM();
|
||||
const CloudCmd = getCloudCmd();
|
||||
|
||||
await defaultMenu[name]({
|
||||
defaultMenu[name]({
|
||||
DOM,
|
||||
CloudCmd,
|
||||
});
|
||||
|
||||
const {files} = DOM.CurrentInfo.files;
|
||||
const {files} = DOM.CurrentInfo;
|
||||
|
||||
t.calledWith(DOM.getFilenames, [files], 'should call getFilenames');
|
||||
t.end();
|
||||
|
|
@ -338,3 +338,4 @@ const getCloudCmd = () => ({
|
|||
show: stub(),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue