@contentful/field-editor-reference 8.5.1-canary.2 → 8.5.1-canary.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62,11 +62,6 @@ const cards = [
62
62
  _vitest.describe.each(cards)('$name status', ({ renderEntity, missingTestId, loadedEntity })=>{
63
63
  _vitest.test.each([
64
64
  undefined,
65
- null,
66
- {},
67
- {
68
- sys: undefined
69
- },
70
65
  {
71
66
  sys: {}
72
67
  }
@@ -77,11 +77,6 @@ const cards = [
77
77
  _vitest.describe.each(cards)('fetching $name status', ({ renderCard, missingTestId })=>{
78
78
  _vitest.test.each([
79
79
  undefined,
80
- null,
81
- {},
82
- {
83
- sys: undefined
84
- },
85
80
  {
86
81
  sys: {}
87
82
  }
@@ -42,6 +42,12 @@ function createGetScheduledActions() {
42
42
  sys: undefined
43
43
  }
44
44
  ],
45
+ [
46
+ 'null sys',
47
+ {
48
+ sys: null
49
+ }
50
+ ],
45
51
  [
46
52
  'missing id',
47
53
  {
@@ -53,11 +53,6 @@ const cards = [
53
53
  describe.each(cards)('$name status', ({ renderEntity, missingTestId, loadedEntity })=>{
54
54
  test.each([
55
55
  undefined,
56
- null,
57
- {},
58
- {
59
- sys: undefined
60
- },
61
56
  {
62
57
  sys: {}
63
58
  }
@@ -68,11 +68,6 @@ beforeEach(()=>{
68
68
  describe.each(cards)('fetching $name status', ({ renderCard, missingTestId })=>{
69
69
  test.each([
70
70
  undefined,
71
- null,
72
- {},
73
- {
74
- sys: undefined
75
- },
76
71
  {
77
72
  sys: {}
78
73
  }
@@ -33,6 +33,12 @@ describe('EntityStatusBadge', ()=>{
33
33
  sys: undefined
34
34
  }
35
35
  ],
36
+ [
37
+ 'null sys',
38
+ {
39
+ sys: null
40
+ }
41
+ ],
36
42
  [
37
43
  'missing id',
38
44
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-reference",
3
- "version": "8.5.1-canary.2+645c9b0b",
3
+ "version": "8.5.1-canary.4+0e7f6072",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "@contentful/f36-components": "^6.7.1",
42
42
  "@contentful/f36-icons": "^6.7.1",
43
43
  "@contentful/f36-tokens": "^6.1.2",
44
- "@contentful/field-editor-shared": "^4.6.1-canary.2+645c9b0b",
44
+ "@contentful/field-editor-shared": "^4.6.0",
45
45
  "@contentful/mimetype": "^2.2.29",
46
46
  "@dnd-kit/core": "^6.0.8",
47
47
  "@dnd-kit/sortable": "^8.0.0",
@@ -78,5 +78,5 @@
78
78
  "prettier --write"
79
79
  ]
80
80
  },
81
- "gitHead": "645c9b0ba09820f91776cb981448ff8b9abe4202"
81
+ "gitHead": "0e7f6072b7a2e52a2d22f0fef0d2f9ae86347e21"
82
82
  }