Skip to content

Commit

Permalink
update tests for nia
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Jan 27, 2025
1 parent a4bed7d commit e2e85a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/ghana-bdr/test/Adaptor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ describe('sendBirthNotification', () => {
sendBirthNotification(state => state.data)
)(state);

// TODO add assertions
expect(Object.keys(finalState.data).length).to.eql(6);
expect(finalState.data.registry_code).to.eql('1');
expect(finalState.data.child.birth_attendant_phone).to.eql('0556969609');
expect(finalState.data.mother.national_id_number).to.eql('90-030-003');
expect(finalState.data.health_facility.name).to.eql(
'Korlebu General Hospital'
);
});
});

0 comments on commit e2e85a4

Please sign in to comment.