Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov authored and Timur Karimov committed Nov 29, 2024
1 parent 327ab01 commit 73da308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/checkout/utils/test/upe.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ describe( 'blocksShowLinkButtonHandler', () => {

container = document.createElement( 'div' );
container.innerHTML = `
<input id="email" type="email" value="">
<input id="billing_email" type="email" value="">
<label for="email">Email address</label>
`;
form.appendChild( container );
Expand Down Expand Up @@ -649,7 +649,7 @@ describe( 'blocksShowLinkButtonHandler', () => {
} );

test( 'should show link button if email input is present', () => {
document.getElementById( 'email' ).value = '[email protected]';
document.getElementById( 'billing_email' ).value = '[email protected]';

blocksShowLinkButtonHandler( autofill );

Expand Down

0 comments on commit 73da308

Please sign in to comment.