@openmrs/esm-openconceptlab-app 4.0.6-pre.174 → 4.0.6-pre.179
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 +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/import/import.test.tsx +2 -2
- package/src/previous-imports/import-overview/import-items.test.tsx +2 -2
- package/src/previous-imports/import-overview/import-overview.test.tsx +2 -2
- package/src/previous-imports/previous-imports.test.tsx +2 -2
- package/src/subscription/subscription.test.tsx +2 -2
package/.turbo/turbo-build.log
CHANGED
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"openconceptlab":">=1.2.0","webservices.rest":"^2.2.0"},"extensions":[{"name":"admin-ocl-card-link","slot":"system-admin-page-card-link-slot","component":"adminOclCardLink"}],"pages":[{"component":"root","route":"ocl"}],"version":"4.0.6-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"openconceptlab":">=1.2.0","webservices.rest":"^2.2.0"},"extensions":[{"name":"admin-ocl-card-link","slot":"system-admin-page-card-link-slot","component":"adminOclCardLink"}],"pages":[{"component":"root","route":"ocl"}],"version":"4.0.6-pre.179"}
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import userEvent from '@testing-library/user-event';
|
|
3
3
|
import { screen, waitFor } from '@testing-library/react';
|
|
4
4
|
import { type FetchResponse, openmrsFetch, showNotification } from '@openmrs/esm-framework';
|
|
5
|
-
import { mockSubscription } from '
|
|
6
|
-
import { renderWithSwr } from '
|
|
5
|
+
import { mockSubscription } from '@mocks/openconceptlab.mock';
|
|
6
|
+
import { renderWithSwr } from '@tools/test-helpers';
|
|
7
7
|
import { startImportWithSubscription } from './import.resource';
|
|
8
8
|
import Import from './import.component';
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { screen, waitFor } from '@testing-library/react';
|
|
3
3
|
import { usePagination } from '@openmrs/esm-framework';
|
|
4
|
-
import { renderWithSwr } from '
|
|
5
|
-
import { mockImportItems, mockPreviousImports } from '
|
|
4
|
+
import { renderWithSwr } from '@tools/test-helpers';
|
|
5
|
+
import { mockImportItems, mockPreviousImports } from '@mocks/openconceptlab.mock';
|
|
6
6
|
import { getImportDetails } from './import-items.resource';
|
|
7
7
|
import ImportItems from './import-items.component';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { screen, waitFor } from '@testing-library/react';
|
|
3
3
|
import { formatDatetime } from '@openmrs/esm-framework';
|
|
4
|
-
import { renderWithSwr } from '
|
|
5
|
-
import { mockPreviousImports } from '
|
|
4
|
+
import { renderWithSwr } from '@tools/test-helpers';
|
|
5
|
+
import { mockPreviousImports } from '@mocks/openconceptlab.mock';
|
|
6
6
|
import ImportOverview from './import-overview.component';
|
|
7
7
|
|
|
8
8
|
describe('Import Overview component', () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { screen, waitFor } from '@testing-library/react';
|
|
3
3
|
import { formatDatetime, openmrsFetch, usePagination } from '@openmrs/esm-framework';
|
|
4
|
-
import { renderWithSwr } from '
|
|
5
|
-
import { mockPreviousImports } from '
|
|
4
|
+
import { renderWithSwr } from '@tools/test-helpers';
|
|
5
|
+
import { mockPreviousImports } from '@mocks/openconceptlab.mock';
|
|
6
6
|
import PreviousImports from './previous-imports.component';
|
|
7
7
|
|
|
8
8
|
const mockOpenmrsFetch = openmrsFetch as jest.Mock;
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import userEvent from '@testing-library/user-event';
|
|
3
3
|
import { screen, waitFor } from '@testing-library/react';
|
|
4
4
|
import { type FetchResponse, openmrsFetch, showNotification } from '@openmrs/esm-framework';
|
|
5
|
-
import { renderWithSwr } from '
|
|
6
|
-
import { mockSubscription } from '
|
|
5
|
+
import { renderWithSwr } from '@tools/test-helpers';
|
|
6
|
+
import { mockSubscription } from '@mocks/openconceptlab.mock';
|
|
7
7
|
import { deleteSubscription, updateSubscription } from './subscription.resource';
|
|
8
8
|
import Subscription from './subscription.component';
|
|
9
9
|
|