summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/test/mdx-frontmatter.js
diff options
context:
space:
mode:
authorGravatar bholmesdev <bholmesdev@users.noreply.github.com> 2022-07-21 01:36:26 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-07-21 01:36:26 +0000
commit29eef85ce55d0d8aad87c321613302d2b9dc5eee (patch)
tree1d674731cbf8e681bd95c3b943b43992ae711a38 /packages/integrations/mdx/test/mdx-frontmatter.js
parentb2b367c969493aaf21c974064beb241d05228066 (diff)
downloadastro-29eef85ce55d0d8aad87c321613302d2b9dc5eee.tar.gz
astro-29eef85ce55d0d8aad87c321613302d2b9dc5eee.tar.zst
astro-29eef85ce55d0d8aad87c321613302d2b9dc5eee.zip
Diffstat (limited to '')
-rw-r--r--packages/integrations/mdx/test/mdx-frontmatter.js12
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();