Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-AI committed Jul 19, 2023
1 parent bc9d91a commit 6e1c2a9
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,11 @@ describe('patient registration component', () => {
</ResourcesContext.Provider>,
);

const givenNameInput = screen.getByLabelText(/First Name/) as HTMLInputElement;
const familyNameInput = screen.getByLabelText(/Family Name/) as HTMLInputElement;
const middleNameInput = screen.getByLabelText(/Middle Name/) as HTMLInputElement;
const dateOfBirthInput = screen.getByLabelText('Date of Birth') as HTMLInputElement;
const genderInput = screen.getByLabelText(/Male/) as HTMLSelectElement;
const givenNameInput: HTMLInputElement = screen.getByLabelText(/First Name/);
const familyNameInput: HTMLInputElement = screen.getByLabelText(/Family Name/);
const middleNameInput: HTMLInputElement = screen.getByLabelText(/Middle Name/);
const dateOfBirthInput: HTMLInputElement = screen.getByLabelText('Date of Birth');
const genderInput: HTMLInputElement = screen.getByLabelText(/Male/);

// assert initial values
expect(givenNameInput.value).toBe('John');
Expand Down

0 comments on commit 6e1c2a9

Please sign in to comment.