fix(content-blog): add baseUrl for author.image_url #3741
Annotations
9 errors
getBlogPostAuthors › can read author from legacy front matter:
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L81
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 4
Array [
Object {
- "imageURL": "/baseURL/img/slorber.png",
+ "imageURL": "\\baseURL\\img\\slorber.png",
+ "name": undefined,
+ "title": undefined,
+ "url": undefined,
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:81:7)
|
getBlogPostAuthors › can read authors string:
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L169
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
Object {
- "imageURL": "/baseUrl/img/slorber.png",
+ "imageURL": "\\baseUrl\\img\\slorber.png",
"key": "slorber",
"name": "Sébastien Lorber",
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:169:7)
|
Windows Tests (18)
Process completed with exit code 1.
|
Windows Tests (18.0)
The job was canceled because "_18" failed.
|
getBlogPostAuthors › can read author from legacy front matter:
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L81
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 4
Array [
Object {
- "imageURL": "/baseURL/img/slorber.png",
+ "imageURL": "\\baseURL\\img\\slorber.png",
+ "name": undefined,
+ "title": undefined,
+ "url": undefined,
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:81:7)
|
getBlogPostAuthors › can read authors string:
packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts#L169
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
Object {
- "imageURL": "/baseUrl/img/slorber.png",
+ "imageURL": "\\baseUrl\\img\\slorber.png",
"key": "slorber",
"name": "Sébastien Lorber",
},
]
at Object.toEqual (packages/docusaurus-plugin-content-blog/src/__tests__/authors.test.ts:169:7)
|
Windows Tests (18.0)
The operation was canceled.
|
Windows Tests (20)
The job was canceled because "_18" failed.
|
Windows Tests (20)
The operation was canceled.
|