Skip to content

Commit

Permalink
fix(PN-9620): restore toHaveValue('') in test
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahDonvito committed Mar 28, 2024
1 parent 7b234e6 commit 986d3cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('CodeInput Component', () => {
act(() => (codeInputs[2] as HTMLInputElement).focus());
await userEvent.keyboard('{Backspace}');
await waitFor(() => {
expect(codeInputs[2]).toBeEmptyDOMElement();
expect(codeInputs[2]).toHaveValue('');
});
});

Expand Down

0 comments on commit 986d3cd

Please sign in to comment.