mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
Remove it.only (#3655)
* chore: remove it.only * test: fix failing test Co-authored-by: Nate Moore <nate@astro.build>
This commit is contained in:
parent
2a39e93875
commit
bb02bca36c
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ describe('Astro Markdown', () => {
|
||||||
expect($('h1').text()).to.equal('It still works!');
|
expect($('h1').text()).to.equal('It still works!');
|
||||||
});
|
});
|
||||||
|
|
||||||
it.only('Can handle HTML comments in inline code', async () => {
|
it('Can handle HTML comments in inline code', async () => {
|
||||||
const html = await fixture.readFile('/comment-with-js/index.html');
|
const html = await fixture.readFile('/comment-with-js/index.html');
|
||||||
const $ = cheerio.load(html);
|
const $ = cheerio.load(html);
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ describe('Astro Markdown', () => {
|
||||||
const html = await fixture.readFile('/comment-with-js/index.html');
|
const html = await fixture.readFile('/comment-with-js/index.html');
|
||||||
const $ = cheerio.load(html);
|
const $ = cheerio.load(html);
|
||||||
|
|
||||||
expect($('body > code').text()).to.equal('<!-- HTML comments in code fence -->');
|
expect($('pre > code').text()).to.equal('<!-- HTML comments in code fence -->');
|
||||||
});
|
});
|
||||||
|
|
||||||
// https://github.com/withastro/astro/issues/3254
|
// https://github.com/withastro/astro/issues/3254
|
||||||
|
|
Loading…
Reference in a new issue