diff --git a/packages/astro/test/astro-markdown-plugins.test.js b/packages/astro/test/astro-markdown-plugins.test.js index ec7e701722b7..3429c2ed7b70 100644 --- a/packages/astro/test/astro-markdown-plugins.test.js +++ b/packages/astro/test/astro-markdown-plugins.test.js @@ -121,8 +121,8 @@ describe('Astro Markdown plugins', () => { testRehype(html, '#smartypants-test'); }); - describe("content layer plugins", () => { - let fixture + describe('content layer plugins', () => { + let fixture; before(async () => { fixture = await loadFixture({ root: './fixtures/content-layer-remark-plugins/', @@ -135,9 +135,7 @@ describe('Astro Markdown plugins', () => { const $ = cheerio.load(html); assert.equal($('p').text(), 'Not transformed'); }); - }); - }); function testRehype(html, headingId) {