@contentful/field-editor-reference 8.5.6-canary.4 → 8.5.6-canary.5

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.
@@ -118,7 +118,7 @@ const mockedUseEditorPermissions = _useEditorPermissions.useEditorPermissions;
118
118
  }));
119
119
  const button = await _react1.screen.findByText('Add existing content');
120
120
  (0, _vitest.expect)(button).toBeDefined();
121
- await _userevent.default.click(button);
121
+ _userevent.default.click(button);
122
122
  const dialogFn = _vitest.vi.mocked(sdk.dialogs.selectMultipleResourceEntities);
123
123
  (0, _vitest.expect)(dialogFn).toHaveBeenCalledTimes(1);
124
124
  const options = dialogFn.mock.calls[0][0];
@@ -68,7 +68,7 @@ describe('Multiple resource editor', ()=>{
68
68
  }));
69
69
  const button = await screen.findByText('Add existing content');
70
70
  expect(button).toBeDefined();
71
- await userEvent.click(button);
71
+ userEvent.click(button);
72
72
  const dialogFn = vi.mocked(sdk.dialogs.selectMultipleResourceEntities);
73
73
  expect(dialogFn).toHaveBeenCalledTimes(1);
74
74
  const options = dialogFn.mock.calls[0][0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-reference",
3
- "version": "8.5.6-canary.4+a6e514a4",
3
+ "version": "8.5.6-canary.5+824676a1",
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.4-canary.4+a6e514a4",
44
+ "@contentful/field-editor-shared": "^4.6.4-canary.5+824676a1",
45
45
  "@contentful/mimetype": "^2.6.5",
46
46
  "@dnd-kit/core": "^6.0.8",
47
47
  "@dnd-kit/sortable": "^8.0.0",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@contentful/app-sdk": "^5.2.0",
61
- "@contentful/field-editor-test-utils": "^3.2.2-canary.65+a6e514a4",
61
+ "@contentful/field-editor-test-utils": "^3.2.1",
62
62
  "@lingui/core": "5.9.5",
63
63
  "@testing-library/react-hooks": "^8.0.1",
64
64
  "@testing-library/user-event": "^13.1.9"
@@ -78,5 +78,5 @@
78
78
  "prettier --write"
79
79
  ]
80
80
  },
81
- "gitHead": "a6e514a4e3f0eebfba881798783a450df0dd347b"
81
+ "gitHead": "824676a15a41db28c0e0adf1a4581cb5374e6c00"
82
82
  }