diff options
author | 2022-07-21 01:36:26 +0000 | |
---|---|---|
committer | 2022-07-21 01:36:26 +0000 | |
commit | 29eef85ce55d0d8aad87c321613302d2b9dc5eee (patch) | |
tree | 1d674731cbf8e681bd95c3b943b43992ae711a38 /packages/integrations/mdx/test/mdx-frontmatter.js | |
parent | b2b367c969493aaf21c974064beb241d05228066 (diff) | |
download | astro-29eef85ce55d0d8aad87c321613302d2b9dc5eee.tar.gz astro-29eef85ce55d0d8aad87c321613302d2b9dc5eee.tar.zst astro-29eef85ce55d0d8aad87c321613302d2b9dc5eee.zip |
[ci] formatastro@0.0.0-rc-20220721064837@astrojs/vue@0.0.0-rc-20220721064837@astrojs/vercel@0.0.0-rc-20220721064837@astrojs/svelte@0.0.0-rc-20220721064837@astrojs/node@0.0.0-rc-20220721064837@astrojs/netlify@0.0.0-rc-20220721064837@astrojs/mdx@0.0.0-rc-20220721064837@astrojs/markdown-component@0.0.0-rc-20220721064837@astrojs/image@0.0.0-rc-20220721064837@astrojs/deno@0.0.0-rc-20220721064837@astrojs/cloudflare@0.0.0-rc-20220721064837
Diffstat (limited to '')
-rw-r--r-- | packages/integrations/mdx/test/mdx-frontmatter.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/integrations/mdx/test/mdx-frontmatter.js b/packages/integrations/mdx/test/mdx-frontmatter.js index 1d8ec36f6..3021f926f 100644 --- a/packages/integrations/mdx/test/mdx-frontmatter.js +++ b/packages/integrations/mdx/test/mdx-frontmatter.js @@ -29,11 +29,13 @@ describe('MDX frontmatter', () => { it('extracts frontmatter to "customFrontmatter" export when configured', async () => { const fixture = await loadFixture({ root: new URL('./fixtures/mdx-custom-frontmatter-name/', import.meta.url), - integrations: [mdx({ - frontmatterOptions: { - name: 'customFrontmatter', - }, - })], + integrations: [ + mdx({ + frontmatterOptions: { + name: 'customFrontmatter', + }, + }), + ], }); await fixture.build(); |