Skip to content

Commit

Permalink
fix obs count failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kajambiya committed Dec 20, 2023
1 parent e23c7fc commit a466d0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions __mocks__/forms/ohri-forms/labour_and_delivery_test_form.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,6 @@
"uuid": "1e5614d6-5306-11e6-beb8-9e71128cae77",
"referencedForms": [],
"encounterType": "6dc5308d-27c9-4d49-b16f-2c5e3c759757",
"postSubmissionActions": [
"MotherToChildLinkageSubmissionAction",
"ArtSubmissionAction"
],
"allowUnspecifiedAll": true,
"formOptions": {
"usePreviousValueDisabled": "true"
Expand Down
4 changes: 2 additions & 2 deletions src/ohri-form.component.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ describe('OHRI Forms:', () => {
// Form submission

describe('Question Info', () => {
fit('Should ascertain that each field with questionInfo passed will display a tooltip', async () => {
it('Should ascertain that each field with questionInfo passed will display a tooltip', async () => {
//render the test form
await act(async () => renderForm(null, sample_fields_form));

Expand Down Expand Up @@ -332,7 +332,7 @@ describe('OHRI Forms:', () => {
});

describe('obs group count validation', () => {
fit('should show error toast when the obs group count does not match the number count specified', async () => {
it('should show error toast when the obs group count does not match the number count specified', async () => {
await act(async () => renderForm(null, labour_and_delivery_test_form));

//Number of babies born from this pregnancy
Expand Down

0 comments on commit a466d0f

Please sign in to comment.