test: cloudcmd: update

This commit is contained in:
coderaiser 2023-12-04 20:04:39 +02:00
parent 75bf8a1275
commit 094df666f4
12 changed files with 400 additions and 240 deletions

View file

@ -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();
});