Linting fixes

pull/8673/head
Nguyen Tran 3 years ago
parent e9de5f3f81
commit cadd3d6f1b

@ -3,7 +3,7 @@ export default {
<p>0</p><p>1</p><p>2</p>
`,
async test({ assert, window, component, target }) {
async test({ assert, component, target }) {
const pArray = target.querySelectorAll('p');
assert.equal(component.bindings[0], pArray[0]);
assert.equal(component.bindings[1], pArray[1]);

@ -3,7 +3,7 @@ export default {
<p>10</p><p>20</p><p>30</p>
`,
async test({ assert, window, component, target }) {
async test({ assert, component, target }) {
const pArray = target.querySelectorAll('p');
assert.equal(component.bindings[10], pArray[0]);
assert.equal(component.bindings[20], pArray[1]);

@ -3,7 +3,7 @@ export default {
<p>0</p><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p>
`,
async test({ assert, window, component, target }) {
async test({ assert, component, target }) {
const pArray = target.querySelectorAll('p');
for (let i = 0; i <= 9; i++) {
assert.equal(component.bindings[i], pArray[i]);

Loading…
Cancel
Save