fix(blog): normalize inline authors socials #4846
Annotations
6 errors
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L840
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
Object {
"imageURL": "./ozaki.png",
"key": null,
"page": null,
+ "socials": Object {},
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:840:25)
|
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L867
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
Object {
"imageURL": "/ozaki.png",
"key": null,
"page": null,
+ "socials": Object {},
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:867:7)
|
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L886
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
Object {
"imageURL": "/img/ozaki.png",
"key": null,
"page": null,
+ "socials": Object {},
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:886:7)
|
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L905
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
Object {
"imageURL": "/img/ozaki.png",
"key": null,
"page": null,
+ "socials": Object {},
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:905:7)
|
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L924
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
Object {
"imageURL": "/img/img/ozaki.png",
"key": null,
"page": null,
+ "socials": Object {},
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:924:7)
|
|
This job failed
Loading