0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

[ci] format

This commit is contained in:
ktym4a 2024-02-08 10:30:29 +00:00 committed by astrobot-houston
parent ccb08ea7c8
commit eaf2fb6a71
2 changed files with 4 additions and 4 deletions

View file

@ -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);
});
});

View file

@ -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"}!`)');
});
});
});