mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[ci] format
This commit is contained in:
parent
ccb08ea7c8
commit
eaf2fb6a71
2 changed files with 4 additions and 4 deletions
|
@ -27,11 +27,11 @@ describe('Errors in JavaScript', () => {
|
|||
let res = await fixture.fetch('/');
|
||||
let html = await res.text();
|
||||
|
||||
assert.equal(html.includes('ReferenceError'), true)
|
||||
assert.equal(html.includes('ReferenceError'), true);
|
||||
|
||||
res = await fixture.fetch('/');
|
||||
await res.text();
|
||||
|
||||
assert.equal(html.includes('ReferenceError'), true)
|
||||
assert.equal(html.includes('ReferenceError'), true);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -61,10 +61,10 @@ describe('HTML Escape', () => {
|
|||
assert.equal(span.attr('${attr}'), '');
|
||||
|
||||
const ce = $('custom-element');
|
||||
assert.equal(ce.attr('x-data'), '`${test}`')
|
||||
assert.equal(ce.attr('x-data'), '`${test}`');
|
||||
|
||||
const script = $('script');
|
||||
assert.equal(script.text(), 'console.log(`hello ${"world"}!`)')
|
||||
assert.equal(script.text(), 'console.log(`hello ${"world"}!`)');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue