Skip to content

add contentful fix

add contentful fix #60

Triggered via pull request November 26, 2024 19:41
Status Failure
Total duration 50s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/sources/__tests__/contentful-source.test.ts > contentfulSource > should fetch data with delivery token: packages/content/src/sources/__tests__/contentful-source.test.ts#L116
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ src/sources/__tests__/contentful-source.test.ts:116:23
src/sources/__tests__/contentful-source.test.ts > contentfulSource > should fetch data with preview token: packages/content/src/sources/__tests__/contentful-source.test.ts#L180
Error: Snapshot `contentfulSource > should fetch data with preview token 1` mismatched - Expected + Received @@ -1,19 +1,7 @@ { - "assets": [ - { - "fields": { - "file": { - "url": "//test.com/preview.jpg", - }, - "title": "Preview Asset", - }, - "sys": { - "type": "Asset", - }, - }, - ], + "assets": [], "entries": [ { "fields": { "title": "Preview Entry", }, ❯ src/sources/__tests__/contentful-source.test.ts:180:16
CI
Process completed with exit code 1.