summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2022-06-20 17:40:53 -0500
committerGravatar GitHub <noreply@github.com> 2022-06-20 17:40:53 -0500
commitbb02bca36c90fe6746a8968a164f2c0638e1cf72 (patch)
tree388c46029428491c31666e21783c1c929e928fd5
parent2a39e93875840d37fec48e4739e6ad926bdc3af4 (diff)
downloadastro-bb02bca36c90fe6746a8968a164f2c0638e1cf72.tar.gz
astro-bb02bca36c90fe6746a8968a164f2c0638e1cf72.tar.zst
astro-bb02bca36c90fe6746a8968a164f2c0638e1cf72.zip
Remove it.only (#3655)
* chore: remove it.only * test: fix failing test Co-authored-by: Nate Moore <nate@astro.build>
-rw-r--r--packages/astro/test/astro-markdown.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/test/astro-markdown.test.js b/packages/astro/test/astro-markdown.test.js
index 6ebdf3bfa..0a5c1b2f9 100644
--- a/packages/astro/test/astro-markdown.test.js
+++ b/packages/astro/test/astro-markdown.test.js
@@ -79,7 +79,7 @@ describe('Astro Markdown', () => {
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 $ = cheerio.load(html);
@@ -90,7 +90,7 @@ describe('Astro Markdown', () => {
const html = await fixture.readFile('/comment-with-js/index.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