From 10bd261a3f309007d6e8f4dfe1b69d210999b2aa Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 11 Jul 2022 17:48:36 +0000 Subject: [PATCH] =?UTF-8?q?chore(cloudcmd)=20actions:=20lint=20=E2=98=98?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dom/current-file.spec.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/client/dom/current-file.spec.js b/client/dom/current-file.spec.js index 8000699b..2e816c3c 100644 --- a/client/dom/current-file.spec.js +++ b/client/dom/current-file.spec.js @@ -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(); });