@openmrs/esm-patient-common-lib 6.1.1-pre.3402 → 6.1.1-pre.3410

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-common-lib",
3
- "version": "6.1.1-pre.3402",
3
+ "version": "6.1.1-pre.3410",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Library for common patient chart components",
6
6
  "browser": "dist/openmrs-esm-patient-common-lib.js",
@@ -38,5 +38,5 @@
38
38
  "react": "18.x",
39
39
  "single-spa": "5.x"
40
40
  },
41
- "gitHead": "19b5f8818dbaeca41247e8f7108711a7ca4ec86a"
41
+ "gitHead": "8771d6201c2e2b34cc69e2a9ff97f61d6e67969e"
42
42
  }
@@ -361,6 +361,7 @@ describe('workspace system', () => {
361
361
  });
362
362
 
363
363
  test('is compatible with workspaces registered as extensions', () => {
364
+ console.warn = jest.fn();
364
365
  const store = getWorkspaceStore();
365
366
  registerExtension({
366
367
  name: 'lab-results',
@@ -375,6 +376,7 @@ describe('workspace system', () => {
375
376
  expect(workspace.additionalProps['foo']).toBe(true);
376
377
  expect(workspace.title).toBe('Lab Results');
377
378
  expect(workspace.preferredWindowSize).toBe('maximized');
379
+ expect(console.warn).toHaveBeenCalled();
378
380
  });
379
381
 
380
382
  test('launching unregistered workspace throws an error', () => {