[ci] format
This commit is contained in:
parent
9ba1f4f825
commit
d538c9237d
1 changed files with 4 additions and 4 deletions
|
@ -27,12 +27,12 @@ describe('Astro Markdown', () => {
|
||||||
const html = await fixture.readFile('/jsx-expressions/index.html');
|
const html = await fixture.readFile('/jsx-expressions/index.html');
|
||||||
const $ = cheerio.load(html);
|
const $ = cheerio.load(html);
|
||||||
|
|
||||||
expect($('h2').html()).to.equal('Blog Post with JSX expressions')
|
expect($('h2').html()).to.equal('Blog Post with JSX expressions');
|
||||||
expect($('p').first().html()).to.equal('JSX at the start of the line!')
|
expect($('p').first().html()).to.equal('JSX at the start of the line!');
|
||||||
for (let listItem of ['test-1', 'test-2', 'test-3']) {
|
for (let listItem of ['test-1', 'test-2', 'test-3']) {
|
||||||
expect($(`#${listItem}`).html()).to.equal(`\n${listItem}\n`)
|
expect($(`#${listItem}`).html()).to.equal(`\n${listItem}\n`);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
|
||||||
it('Can load more complex jsxy stuff', async () => {
|
it('Can load more complex jsxy stuff', async () => {
|
||||||
const html = await fixture.readFile('/complex/index.html');
|
const html = await fixture.readFile('/complex/index.html');
|
||||||
|
|
Loading…
Reference in a new issue