@openmrs/esm-active-visits-app 7.0.1-pre.3660 → 7.0.1-pre.3662
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/.turbo/turbo-build.log
CHANGED
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"}],"pages":[],"version":"7.0.1-pre.
|
|
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"}],"pages":[],"version":"7.0.1-pre.3662"}
|
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ describe('ActiveVisitsTable', () => {
|
|
|
57
57
|
await user.type(searchInput, 'John');
|
|
58
58
|
|
|
59
59
|
expect(screen.getByText('John Doe')).toBeInTheDocument();
|
|
60
|
-
expect(screen.queryByText('Some One')).
|
|
60
|
+
expect(screen.queryByText('Some One')).not.toBeInTheDocument();
|
|
61
61
|
});
|
|
62
62
|
|
|
63
63
|
it('displays empty state when there are no active visits', () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render, screen, act } from '@testing-library/react';
|
|
3
|
-
import VisitDetailComponent from './visit-detail.component';
|
|
4
|
-
import { useVisit } from './visit.resource';
|
|
5
3
|
import { formatDate } from '@openmrs/esm-framework';
|
|
4
|
+
import { useVisit } from './visit.resource';
|
|
5
|
+
import VisitDetailComponent from './visit-detail.component';
|
|
6
6
|
|
|
7
7
|
jest.mock('./visit.resource');
|
|
8
8
|
|
|
@@ -117,6 +117,6 @@ describe('VisitDetailComponent', () => {
|
|
|
117
117
|
|
|
118
118
|
render(<VisitDetailComponent visitUuid={visitUuid} patientUuid={patientUuid} />);
|
|
119
119
|
|
|
120
|
-
expect(screen.queryByRole('button', { name: 'All Encounters' })).
|
|
120
|
+
expect(screen.queryByRole('button', { name: 'All Encounters' })).not.toBeInTheDocument();
|
|
121
121
|
});
|
|
122
122
|
});
|