mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) actions: lint ☘️
This commit is contained in:
parent
c337e4507d
commit
10bd261a3f
1 changed files with 5 additions and 6 deletions
|
|
@ -142,17 +142,16 @@ test('current-file: isCurrentFile: no', (t) => {
|
|||
DOM,
|
||||
CloudCmd,
|
||||
} = global;
|
||||
|
||||
|
||||
global.DOM = getDOM();
|
||||
global.CloudCmd = getCloudCmd();
|
||||
|
||||
|
||||
const result = currentFile.isCurrentFile();
|
||||
const expect = false;
|
||||
|
||||
|
||||
global.DOM = DOM;
|
||||
global.CloudCmd = CloudCmd;
|
||||
|
||||
t.equal(result, expect);
|
||||
|
||||
t.notOk(result);
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue