Skip to content

Commit eb37f4a

Browse files
authored
[chore] fix lint (#7466)
1 parent f2029ff commit eb37f4a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

test/runtime/samples/dynamic-element-animation-2/_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default {
5959
originalParagraphGetBoundingClientRect;
6060
},
6161

62-
async test({ assert, component, target, raf }) {
62+
async test({ assert, component, raf }) {
6363
// switch tag and things at the same time
6464
await component.update('p', [
6565
{ id: 5, name: 'e' },

test/runtime/samples/if-block-else-update/_config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default {
2-
async test({ assert, component, target, window }) {
2+
async test({ assert, target, window }) {
33
const [btn1, btn2] = target.querySelectorAll('button');
4-
4+
55
const clickEvent = new window.MouseEvent('click');
66

77
await btn2.dispatchEvent(clickEvent);
@@ -23,7 +23,7 @@ export default {
2323
<hr>
2424
foo!
2525
`);
26-
26+
2727
await btn2.dispatchEvent(clickEvent);
2828
assert.htmlEqual(target.innerHTML, `
2929
<button>Toggle foo</button>
@@ -33,7 +33,7 @@ export default {
3333
<hr>
3434
foo!
3535
`);
36-
36+
3737
await btn1.dispatchEvent(clickEvent);
3838
assert.htmlEqual(target.innerHTML, `
3939
<button>Toggle foo</button>

test/runtime/samples/inline-style/_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
<div style="color: red;"></div>
44
`,
55

6-
test({ assert, component, target, window }) {
6+
test({ assert, target, window }) {
77
const div = target.querySelector('div');
88

99
const styles = window.getComputedStyle(div);

test/runtime/samples/key-block-component-slot/_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
props: {
66
logs
77
},
8-
async test({ assert, component, target, raf }) {
8+
async test({ assert, target }) {
99
assert.deepEqual(logs, ['mount']);
1010

1111
const button = target.querySelector('button');

0 commit comments

Comments
 (0)