feat(blog): allow processing blog posts through a processBlogPosts function #4033
Annotations
3 errors
|
Docusaurus Jest Tests:
packages/docusaurus-plugin-content-blog/src/__tests__/index.test.ts#L514
expect(received).toMatchSnapshot()
Snapshot name: `blog plugin process blog posts load content 1`
- Snapshot - 2
+ Received + 0
@@ -5,11 +5,10 @@
"metadata": {
"authors": [],
"date": 2031-01-01T00:00:00.000Z,
"description": "2031",
"editUrl": "https://baseEditUrl.com/edit/blog/date-2031-unlisted.md",
- "formattedDate": "January 1, 2031",
"frontMatter": {
"date": 2031-01-01T00:00:00.000Z,
"slug": "/date/2031",
"title": "2031",
"unlisted": true,
@@ -33,11 +32,10 @@
"metadata": {
"authors": [],
"date": 2030-01-01T00:00:00.000Z,
"description": "2030",
"editUrl": "https://baseEditUrl.com/edit/blog/date-2030.md",
- "formattedDate": "January 1, 2030",
"frontMatter": {
"date": 2030-01-01T00:00:00.000Z,
"slug": "/date/2030",
"title": "2030",
},
at Object.toMatchSnapshot (packages/docusaurus-plugin-content-blog/src/__tests__/index.test.ts:514:32)
|
Docusaurus Jest Tests
The operation was canceled.
|
The logs for this run have expired and are no longer available.
Loading