diff options
author | 2024-09-26 14:59:39 +0100 | |
---|---|---|
committer | 2024-09-26 14:59:39 +0100 | |
commit | a19530e377b7d7afad58a33b23c0a5df1c376819 (patch) | |
tree | 40eb6c305f2daec6bf2d5ef41eaba05f1e8dd8d9 /packages/integrations/markdoc/test | |
parent | acf264d8c003718cda5a0b9ce5fb7ac1cd6641b6 (diff) | |
download | astro-a19530e377b7d7afad58a33b23c0a5df1c376819.tar.gz astro-a19530e377b7d7afad58a33b23c0a5df1c376819.tar.zst astro-a19530e377b7d7afad58a33b23c0a5df1c376819.zip |
Parse frontmatter ourselves (#12075)
Diffstat (limited to 'packages/integrations/markdoc/test')
-rw-r--r-- | packages/integrations/markdoc/test/content-collections.test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/integrations/markdoc/test/content-collections.test.js b/packages/integrations/markdoc/test/content-collections.test.js index 5417f297d..16032ce58 100644 --- a/packages/integrations/markdoc/test/content-collections.test.js +++ b/packages/integrations/markdoc/test/content-collections.test.js @@ -83,7 +83,7 @@ const post1Entry = { schemaWorks: true, title: 'Post 1', }, - body: '\n## Post 1\n\nThis is the contents of post 1.\n', + body: '## Post 1\n\nThis is the contents of post 1.', }; const post2Entry = { @@ -94,7 +94,7 @@ const post2Entry = { schemaWorks: true, title: 'Post 2', }, - body: '\n## Post 2\n\nThis is the contents of post 2.\n', + body: '## Post 2\n\nThis is the contents of post 2.', }; const post3Entry = { @@ -105,5 +105,5 @@ const post3Entry = { schemaWorks: true, title: 'Post 3', }, - body: '\n## Post 3\n\nThis is the contents of post 3.\n', + body: '## Post 3\n\nThis is the contents of post 3.', }; |