diff options
author | 2023-08-01 17:11:26 +0800 | |
---|---|---|
committer | 2023-08-01 17:11:26 +0800 | |
commit | ebf7ebbf7ae767625d736fad327954cfb853837e (patch) | |
tree | b0c279d211c0ce25e022930524e12f6d322e4bf9 /packages/integrations/mdx/test/mdx-get-static-paths.test.js | |
parent | 9e22038472c8be05ed7a72620534b88324dce793 (diff) | |
download | astro-ebf7ebbf7ae767625d736fad327954cfb853837e.tar.gz astro-ebf7ebbf7ae767625d736fad327954cfb853837e.tar.zst astro-ebf7ebbf7ae767625d736fad327954cfb853837e.zip |
Refactor and improve Astro config loading flow (#7879)
Diffstat (limited to 'packages/integrations/mdx/test/mdx-get-static-paths.test.js')
-rw-r--r-- | packages/integrations/mdx/test/mdx-get-static-paths.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/mdx/test/mdx-get-static-paths.test.js b/packages/integrations/mdx/test/mdx-get-static-paths.test.js index b4dc179d0..c5a34f7de 100644 --- a/packages/integrations/mdx/test/mdx-get-static-paths.test.js +++ b/packages/integrations/mdx/test/mdx-get-static-paths.test.js @@ -23,7 +23,7 @@ describe('getStaticPaths', () => { const $ = cheerio.load(html); expect($('p').text()).to.equal('First mdx file'); expect($('#one').text()).to.equal('hello', 'Frontmatter included'); - expect($('#url').text()).to.equal('/src/content/1.mdx', 'url is included'); + expect($('#url').text()).to.equal('src/content/1.mdx', 'url is included'); expect($('#file').text()).to.contain( 'fixtures/mdx-get-static-paths/src/content/1.mdx', 'file is included' |