fix linting errors

pull/5923/head
Paul Murray 5 years ago
parent 5387b15cb5
commit ec88a1f986

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

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

@ -1,7 +1,7 @@
export default { export default {
html: '<p style="--border-color: red;"></p>', html: '<p style="--border-color: red;"></p>',
test({ assert, component, target, window }) { test({ assert, component, target }) {
component.myColor = 'blue'; component.myColor = 'blue';
assert.htmlEqual(target.innerHTML, '<p style="--border-color: blue;"></p>'); assert.htmlEqual(target.innerHTML, '<p style="--border-color: blue;"></p>');

@ -3,7 +3,7 @@ export default {
<p id="my-id" style="width: 65px; color: blue;"></p> <p id="my-id" style="width: 65px; color: blue;"></p>
`, `,
test({ assert, component, target, window }) { test({ assert, target, window }) {
const p = target.querySelector('p'); const p = target.querySelector('p');
const styles = window.getComputedStyle(p); const styles = window.getComputedStyle(p);

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

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

Loading…
Cancel
Save