add contentful fix #60
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.
|