Skip to content

Commit

Permalink
clear → reset
Browse files Browse the repository at this point in the history
  • Loading branch information
shimotmk committed Feb 13, 2025
1 parent 6de075e commit da27fb7
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 @@ -350,12 +350,12 @@ describe( 'BorderControl', () => {
expect( props.onChange ).not.toHaveBeenCalled();
} );

it( 'should clear color and style only when popover clear button clicked', async () => {
it( 'should reset color and style only when popover reset button clicked', async () => {
const user = userEvent.setup();
const props = createProps();
render( <BorderControl { ...props } /> );
await openPopover( user );
await user.click( getButton( 'Clear' ) );
await user.click( getButton( 'Reset' ) );

expect( props.onChange ).toHaveBeenNthCalledWith( 1, {
color: undefined,
Expand Down

0 comments on commit da27fb7

Please sign in to comment.