Skip to content

Commit b84fe52

Browse files
committed
chore: @cloudcmd/modal: lint using actions
1 parent faf1e61 commit b84fe52

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

css/modal.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
background: #f9f9f9;
1515
margin: 20px;
1616
z-index: 10;
17-
-webkit-box-shadow: 0 10px 25px rgb(0 0 0 / 50%);
17+
box-shadow: 0 10px 25px rgb(0 0 0 / 50%);
1818
box-shadow: 0 10px 25px rgb(0 0 0 / 50%);
1919
position: relative;
2020
}

lib/modal.spec.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,6 @@ test('modal: close: removeChild: event', (t, {document}) => {
203203
body,
204204
} = document;
205205

206-
const event = {
207-
stopPropagations: stub(),
208-
};
209-
210206
querySelector.returns(el);
211207
close();
212208

lib/show-title.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
const mockRequire = require('mock-require');
44

5-
const {stopAll} = mockRequire;
6-
75
const stub = require('@cloudcmd/stub');
6+
87
const autoGlobals = require('auto-globals');
8+
const {stopAll} = mockRequire;
99
const {create} = autoGlobals;
1010

1111
const test = autoGlobals(require('supertape'));

0 commit comments

Comments
 (0)