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
be4f6271f4
commit
f2ef160ca8
1 changed files with 6 additions and 2 deletions
|
|
@ -38,7 +38,9 @@ test('cloudcmd: client: dom: getCSSVar', (t) => {
|
|||
global.getComputedStyle = stub().returns({
|
||||
getPropertyValue,
|
||||
});
|
||||
const result = getCSSVar('hello', {body});
|
||||
const result = getCSSVar('hello', {
|
||||
body,
|
||||
});
|
||||
delete global.getComputedStyle;
|
||||
|
||||
t.notOk(result);
|
||||
|
|
@ -52,7 +54,9 @@ test('cloudcmd: client: dom: getCSSVar: 1', (t) => {
|
|||
global.getComputedStyle = stub().returns({
|
||||
getPropertyValue,
|
||||
});
|
||||
const result = getCSSVar('hello', {body});
|
||||
const result = getCSSVar('hello', {
|
||||
body,
|
||||
});
|
||||
|
||||
delete global.getComputedStyle;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue