@openmrs/esm-active-visits-app 8.3.2-pre.5055 → 8.3.2-pre.5067

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.
@@ -31,4 +31,4 @@ This can impact web performance.
31
31
  Assets:
32
32
  130.js (1.54 MiB)
33
33
 
34
- webpack 5.88.0 compiled with 1 warning in 92222 ms
34
+ webpack 5.88.0 compiled with 1 warning in 90127 ms
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"active-visits-widget","slot":"homepage-widgets-slot","component":"activeVisits","order":0},{"name":"visit-summary-widget","slot":"visit-summary-slot","component":"visitDetail"},{"name":"active-visits-tile","slot":"home-metrics-tiles-slot","component":"homeActiveVisitsTile"},{"name":"total-visits-tile","slot":"home-metrics-tiles-slot","component":"homeTotalVisitsTile"}],"pages":[],"version":"8.3.2-pre.5055"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"active-visits-widget","slot":"homepage-widgets-slot","component":"activeVisits","order":0},{"name":"visit-summary-widget","slot":"visit-summary-slot","component":"visitDetail"},{"name":"active-visits-tile","slot":"home-metrics-tiles-slot","component":"homeActiveVisitsTile"},{"name":"total-visits-tile","slot":"home-metrics-tiles-slot","component":"homeTotalVisitsTile"}],"pages":[],"version":"8.3.2-pre.5067"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-active-visits-app",
3
- "version": "8.3.2-pre.5055",
3
+ "version": "8.3.2-pre.5067",
4
4
  "description": "Active visits widget microfrontend for O3",
5
5
  "browser": "dist/openmrs-esm-active-visits-app.js",
6
6
  "main": "src/index.ts",
@@ -4,9 +4,9 @@ import { render, screen } from '@testing-library/react';
4
4
  import { getDefaultsFromConfigSchema, type OpenmrsResource, useConfig } from '@openmrs/esm-framework';
5
5
  import { mockSession } from '__mocks__';
6
6
  import { type ActiveVisitsConfigSchema, configSchema } from '../config-schema';
7
+ import { type ActiveVisit, type Observation } from '../types';
7
8
  import { useActiveVisits, useObsConcepts } from './active-visits.resource';
8
9
  import ActiveVisitsTable from './active-visits.component';
9
- import { type ActiveVisit, type Observation } from '../types';
10
10
 
11
11
  const mockUseActiveVisits = jest.mocked(useActiveVisits);
12
12
  const mockUseObsConcepts = jest.mocked(useObsConcepts);
@@ -74,10 +74,6 @@ describe('ActiveVisitsTable', () => {
74
74
  });
75
75
  });
76
76
 
77
- afterEach(() => {
78
- jest.clearAllMocks();
79
- });
80
-
81
77
  it('renders data table with standard and observation columns', () => {
82
78
  mockUseActiveVisits.mockReturnValue({
83
79
  activeVisits: mockActiveVisits.map((visit) => ({