@openmrs/esm-config 8.0.1-pre.3457 → 8.0.1-pre.3465

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.
@@ -1,3 +1,3 @@
1
- [0] Successfully compiled: 8 files with swc (148.75ms)
1
+ [0] Successfully compiled: 8 files with swc (121.18ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-config",
3
- "version": "8.0.1-pre.3457",
3
+ "version": "8.0.1-pre.3465",
4
4
  "license": "MPL-2.0",
5
5
  "description": "A configuration library for the OpenMRS Single-Spa framework.",
6
6
  "type": "module",
@@ -61,9 +61,9 @@
61
61
  "single-spa": "6.x"
62
62
  },
63
63
  "devDependencies": {
64
- "@openmrs/esm-globals": "8.0.1-pre.3457",
65
- "@openmrs/esm-state": "8.0.1-pre.3457",
66
- "@openmrs/esm-utils": "8.0.1-pre.3457",
64
+ "@openmrs/esm-globals": "8.0.1-pre.3465",
65
+ "@openmrs/esm-state": "8.0.1-pre.3465",
66
+ "@openmrs/esm-utils": "8.0.1-pre.3465",
67
67
  "@swc/cli": "^0.7.7",
68
68
  "@swc/core": "^1.11.29",
69
69
  "@types/ramda": "^0.26.44",
@@ -1,10 +1,12 @@
1
1
  /* eslint-disable no-undef */
2
+ import { vi } from 'vitest';
3
+
2
4
  global.window.System = {
3
- import: jest.fn().mockRejectedValue(new Error('config.json not available in import map')),
4
- resolve: jest.fn().mockImplementation(() => {
5
+ import: vi.fn().mockRejectedValue(new Error('config.json not available in import map')),
6
+ resolve: vi.fn().mockImplementation(() => {
5
7
  throw new Error('config.json not available in import map');
6
8
  }),
7
- register: jest.fn(),
9
+ register: vi.fn(),
8
10
  };
9
11
 
10
12
  global.window.openmrsBase = '/openmrs';