mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
test: cloudcmd: update
This commit is contained in:
parent
75bf8a1275
commit
094df666f4
12 changed files with 400 additions and 240 deletions
|
|
@ -191,7 +191,7 @@ test('cloudcmd: static: user menu: refresh', async (t) => {
|
|||
CloudCmd,
|
||||
});
|
||||
|
||||
t.ok(refresh.calledWith(), 'should call CloudCmd.refresh');
|
||||
t.calledWithNoArgs(refresh, 'should call CloudCmd.refresh');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -241,7 +241,7 @@ test('cloudcmd: static: user menu: no EditFile.show', async (t) => {
|
|||
CloudCmd,
|
||||
});
|
||||
|
||||
t.notOk(EditFile.show.called, 'should not call EditFile.show');
|
||||
t.notCalled(EditFile.show, 'should not call EditFile.show');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue