Skip to content

Commit

Permalink
fix(#9155): update lmp calculation to fix flaky test (#9170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benmuiruri committed Jun 11, 2024
1 parent 4fdcb59 commit 9e90536
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/factories/cht/reports/pregnancy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ const defaultSubmitter = {
};

const nextANCVisit = moment().add(2, 'day');
const fixedPregDate = moment('2024-06-03');
const lmp = fixedPregDate.subtract(84, 'days');
const lmp = moment().subtract(90, 'days');

const defaultFields = {
'inputs': {
Expand Down

0 comments on commit 9e90536

Please sign in to comment.