diff options
author | 2022-11-22 15:15:03 +0000 | |
---|---|---|
committer | 2022-11-22 15:15:03 +0000 | |
commit | 6a1e4ca02cc8e7aefe67871d19ec40b0f7b73e29 (patch) | |
tree | ec338c9be542cc2e5d58604e0071280e680c484a /packages/integrations/mdx/test | |
parent | 2a1c085b199f24e34424ec8c19041c03602c53c5 (diff) | |
download | astro-6a1e4ca02cc8e7aefe67871d19ec40b0f7b73e29.tar.gz astro-6a1e4ca02cc8e7aefe67871d19ec40b0f7b73e29.tar.zst astro-6a1e4ca02cc8e7aefe67871d19ec40b0f7b73e29.zip |
[ci] format
Diffstat (limited to 'packages/integrations/mdx/test')
-rw-r--r-- | packages/integrations/mdx/test/mdx-astro-markdown-remarkRehype.test.js | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/packages/integrations/mdx/test/mdx-astro-markdown-remarkRehype.test.js b/packages/integrations/mdx/test/mdx-astro-markdown-remarkRehype.test.js index 778849207..ddcce4ba5 100644 --- a/packages/integrations/mdx/test/mdx-astro-markdown-remarkRehype.test.js +++ b/packages/integrations/mdx/test/mdx-astro-markdown-remarkRehype.test.js @@ -30,12 +30,14 @@ describe('MDX with Astro Markdown remark-rehype config', () => { it('Renders footnotes with values from custom configuration extending the default', async () => { const fixture = await loadFixture({ root: new URL('./fixtures/mdx-astro-markdown-remarkRehype/', import.meta.url), - integrations: [mdx({ - remarkRehype: { - footnoteLabel: 'Catatan kaki', - footnoteBackLabel: 'Kembali ke konten', - }, - })], + integrations: [ + mdx({ + remarkRehype: { + footnoteLabel: 'Catatan kaki', + footnoteBackLabel: 'Kembali ke konten', + }, + }), + ], markdown: { remarkRehype: { footnoteBackLabel: 'Replace me', @@ -56,12 +58,14 @@ describe('MDX with Astro Markdown remark-rehype config', () => { it('Renders footnotes with values from custom configuration without extending the default', async () => { const fixture = await loadFixture({ root: new URL('./fixtures/mdx-astro-markdown-remarkRehype/', import.meta.url), - integrations: [mdx({ - extendPlugins: 'astroDefaults', - remarkRehype: { - footnoteLabel: 'Catatan kaki', - }, - })], + integrations: [ + mdx({ + extendPlugins: 'astroDefaults', + remarkRehype: { + footnoteLabel: 'Catatan kaki', + }, + }), + ], markdown: { remarkRehype: { footnoteBackLabel: 'Kembali ke konten', |