Skip to content

Commit

Permalink
Update packages/esm-patient-registration-app/src/patient-registration…
Browse files Browse the repository at this point in the history
…/form-manager.test.ts

Co-authored-by: Ian <52504170+ibacher@users.noreply.github.com>
  • Loading branch information
ynurmahomed and ibacher authored Oct 22, 2024
1 parent e4f41e2 commit ecf4f7a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ describe('FormManager', () => {
await FormManager.savePatientIdentifiers(true, undefined, formValues.identifiers, {}, 'Nyc');
expect(mockGenerateIdentifier.mock.calls).toHaveLength(1);
});

it('should not generate identifiers if manual entry enabled and identifier value given', async () => {
formValues.identifiers.foo.autoGeneration = true;
formValues.identifiers.foo.selectedSource.autoGenerationOption.manualEntryEnabled = true;
Expand Down

0 comments on commit ecf4f7a

Please sign in to comment.