diff options
author | 2024-08-08 05:12:50 -0500 | |
---|---|---|
committer | 2024-08-08 12:12:50 +0200 | |
commit | 72c7ae9901de927ae8d9d5be63cbaef4f976422c (patch) | |
tree | 6e41a6b07ad8830375ba7b0e4d924fd9449dc7ef /packages/integrations/mdx/test/mdx-frontmatter.test.js | |
parent | 85de47cd982fd13c6286bcc0be384a220996ccbd (diff) | |
download | astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.gz astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.zst astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.zip |
update formatter config (#11640)
* update formatter config
* format
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/mdx/test/mdx-frontmatter.test.js')
-rw-r--r-- | packages/integrations/mdx/test/mdx-frontmatter.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/mdx/test/mdx-frontmatter.test.js b/packages/integrations/mdx/test/mdx-frontmatter.test.js index 3fcbf28e8..df36a2439 100644 --- a/packages/integrations/mdx/test/mdx-frontmatter.test.js +++ b/packages/integrations/mdx/test/mdx-frontmatter.test.js @@ -50,7 +50,7 @@ describe('MDX frontmatter', () => { const { document } = parseHTML(html); const headingSlugs = [...document.querySelectorAll('[data-headings] > li')].map( - (el) => el.textContent + (el) => el.textContent, ); assert.equal(headingSlugs.length > 0, true); @@ -70,7 +70,7 @@ describe('MDX frontmatter', () => { assert.equal( frontmatterFile?.endsWith('with-headings.mdx'), true, - '"file" prop does not end with correct path or is undefined' + '"file" prop does not end with correct path or is undefined', ); assert.equal(frontmatterUrl, '/with-headings'); assert.equal(file, frontmatterFile); |