Skip to content

Commit

Permalink
feat(#7599): uplift enketo-core to v7 (#8528)
Browse files Browse the repository at this point in the history
Co-authored-by: Mokhtar <[email protected]>
Co-authored-by: Tatiana Lépiz <[email protected]>
Co-authored-by: tatilepizs <[email protected]>
Co-authored-by: Joshua Kuestersteffen <[email protected]>
  • Loading branch information
4 people authored Dec 6, 2023
1 parent b092815 commit 314e790
Show file tree
Hide file tree
Showing 9 changed files with 160 additions and 140 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Pregnancy danger sign follow-up form', () => {
await reportsPage.submitForm();

const updatedReport = await utils.getDoc(reportId);
expect(updatedReport.fields).excludingEvery('instanceID').to.deep.equal(initialReport.fields);
expect(updatedReport.fields).excludingEvery(['instanceID', 'deprecatedID']).to.deep.equal(initialReport.fields);

});

Expand Down Expand Up @@ -84,6 +84,6 @@ describe('Pregnancy danger sign follow-up form', () => {
const compareReportId = await reportsPage.getCurrentReportId();
const compareReport = await utils.getDoc(compareReportId);

expect(updatedReport.fields).excludingEvery('instanceID').to.deep.equal(compareReport.fields);
expect(updatedReport.fields).excludingEvery(['instanceID', 'deprecatedID']).to.deep.equal(compareReport.fields);
});
});
168 changes: 92 additions & 76 deletions webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"bootstrap-daterangepicker": "^2.1.30",
"bowser": "^2.11.0",
"core-js": "^3.30.2",
"enketo-core": "^5.18.1",
"enketo-core": "^7.2.5",
"eurodigit": "^3.1.3",
"font-awesome": "^4.7.0",
"google-libphonenumber": "^3.2.31",
Expand Down
49 changes: 0 additions & 49 deletions webapp/patches/enketo-core+5.18.1.patch

This file was deleted.

Loading

0 comments on commit 314e790

Please sign in to comment.