[chore] fix lint (#7466)

pull/7467/head
Yuichiro Yamashita 3 years ago committed by GitHub
parent f2029ff110
commit eb37f4a285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,7 +59,7 @@ export default {
originalParagraphGetBoundingClientRect;
},
async test({ assert, component, target, raf }) {
async test({ assert, component, raf }) {
// switch tag and things at the same time
await component.update('p', [
{ id: 5, name: 'e' },

@ -1,7 +1,7 @@
export default {
async test({ assert, component, target, window }) {
async test({ assert, target, window }) {
const [btn1, btn2] = target.querySelectorAll('button');
const clickEvent = new window.MouseEvent('click');
await btn2.dispatchEvent(clickEvent);
@ -23,7 +23,7 @@ export default {
<hr>
foo!
`);
await btn2.dispatchEvent(clickEvent);
assert.htmlEqual(target.innerHTML, `
<button>Toggle foo</button>
@ -33,7 +33,7 @@ export default {
<hr>
foo!
`);
await btn1.dispatchEvent(clickEvent);
assert.htmlEqual(target.innerHTML, `
<button>Toggle foo</button>

@ -3,7 +3,7 @@ export default {
<div style="color: red;"></div>
`,
test({ assert, component, target, window }) {
test({ assert, target, window }) {
const div = target.querySelector('div');
const styles = window.getComputedStyle(div);

@ -5,7 +5,7 @@ export default {
props: {
logs
},
async test({ assert, component, target, raf }) {
async test({ assert, target }) {
assert.deepEqual(logs, ['mount']);
const button = target.querySelector('button');

Loading…
Cancel
Save