Skip to content

Update content-collection test and comments to include testing pubDate #89

Update content-collection test and comments to include testing pubDate

Update content-collection test and comments to include testing pubDate #89

Triggered via pull request February 14, 2024 12:21
Status Failure
Total duration 21s
Artifacts

test.yaml

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

Annotations

4 errors and 3 warnings
error: expect(received).toEqual(expected): packages/nuekit/test/nuekit.test.js#L139
[ { + dir: "blog/nested", + pubDate: 2020-01-03T00:00:00.000Z, + slug: "hey2.html", + title: "Fourth", + url: "/blog/nested/hey2.html", + }, + { + dir: "blog/nested", + pubDate: 2020-01-02T00:00:00.000Z, + slug: "hey1.html", + title: "Third", + url: "/blog/nested/hey1.html", + }, + { dir: "blog", pubDate: undefined, slug: "first-a.html", title: "First", url: "/blog/first-a.html", }, { dir: "blog", pubDate: 2020-01-04T00:00:00.000Z, slug: "first-b.html", title: "Second", url: "/blog/first-b.html", - }, - { - dir: "blog/nested", - pubDate: 2020-01-03T00:00:00.000Z, - slug: "hey2.html", - title: "Fourth", - url: "/blog/nested/hey2.html", - }, - { - dir: "blog/nested", - pubDate: 2020-01-02T00:00:00.000Z, - slug: "hey1.html", - title: "Third", - url: "/blog/nested/hey1.html", } ] - Expected - 14 + Received + 14 at /home/runner/work/nue/nue/packages/nuekit/test/nuekit.test.js:139:3
test (ubuntu-22.04, bun)
Process completed with exit code 1.
test (windows-2022, node+jest)
The operation was canceled.
test (macos-12, bun)
The operation was canceled.
test (ubuntu-22.04, bun)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (windows-2022, node+jest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (macos-12, bun)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.