diff options
-rw-r--r-- | packages/astro/test/astro-markdown-plugins.test.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/astro/test/astro-markdown-plugins.test.js b/packages/astro/test/astro-markdown-plugins.test.js index ec7e70172..3429c2ed7 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) { |