Skip to content

Commit

Permalink
Updated the unit test to add 1px width on setting the color/style t…
Browse files Browse the repository at this point in the history
…o border control
  • Loading branch information
hbhalodia committed Feb 10, 2025
1 parent 300bafb commit 315fff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/border-control/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ describe( 'BorderControl', () => {
expect( props.onChange ).toHaveBeenCalledWith( {
color: '#bd8600',
style: undefined,
width: undefined,
width: '1px',
} );

await user.type( getWidthInput(), '0' );
Expand Down Expand Up @@ -478,7 +478,7 @@ describe( 'BorderControl', () => {
expect( props.onChange ).toHaveBeenCalledWith( {
color: undefined,
style: 'dashed',
width: undefined,
width: '1px',
} );

await user.type( getWidthInput(), '0' );
Expand Down

0 comments on commit 315fff2

Please sign in to comment.