From 4c73315b5c7a2f9a290c57454ed4c82294ac2195 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 13 Nov 2024 21:13:27 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20cloudcmd:=20actions:=20lint=20?= =?UTF-8?q?=E2=98=98=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dom/index.spec.js | 1 + static/manifest.json | 25 +++++++++++-------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/client/dom/index.spec.js b/client/dom/index.spec.js index 4b42f5c1..c5843d11 100644 --- a/client/dom/index.spec.js +++ b/client/dom/index.spec.js @@ -41,6 +41,7 @@ test('cloudcmd: client: dom: getCSSVar', (t) => { const result = getCSSVar('hello', { body, }); + delete global.getComputedStyle; t.notOk(result); diff --git a/static/manifest.json b/static/manifest.json index 13feb092..abd55ade 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -1,14 +1,11 @@ -{ - "short_name": "CloudCMD", - "name": "Cloud Commander", - "display": "standalone", - "start_url": "..", - "icons": [ - { - "src": "../img/favicon/favicon-256.png", - "type": "image/png", - "sizes": "256x256" - } - ] - } - +{ + "short_name": "CloudCMD", + "name": "Cloud Commander", + "display": "standalone", + "start_url": "..", + "icons": [{ + "src": "../img/favicon/favicon-256.png", + "type": "image/png", + "sizes": "256x256" + }] +}