Skip to content

fix(blog): normalize inline authors socials #5190

fix(blog): normalize inline authors socials

fix(blog): normalize inline authors socials #5190

Triggered via pull request August 29, 2024 14:52
Status Failure
Total duration 2m 36s
Artifacts

tests.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
getBlogPostAuthors › getBlogPostAuthors do not throws if inline author imageURL is a link to a file: 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)
getBlogPostAuthors › getBlogPostAuthors can return imageURL without baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL with baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL from subfolder without baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL from subfolder with baseUrl for inline authors: 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)
Tests (22)
Process completed with exit code 1.
Tests (20)
The job was canceled because "_22" failed.
getBlogPostAuthors › getBlogPostAuthors do not throws if inline author imageURL is a link to a file: 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)
getBlogPostAuthors › getBlogPostAuthors can return imageURL without baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL with baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL from subfolder without baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL from subfolder with baseUrl for inline authors: 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)
Tests (20)
The operation was canceled.
Tests (18.0)
The job was canceled because "_22" failed.
getBlogPostAuthors › getBlogPostAuthors do not throws if inline author imageURL is a link to a file: 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)
getBlogPostAuthors › getBlogPostAuthors can return imageURL without baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL with baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL from subfolder without baseUrl for inline authors: 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)
getBlogPostAuthors › getBlogPostAuthors normalize imageURL from subfolder with baseUrl for inline authors: 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)
Tests (18.0)
The operation was canceled.