Skip to content

Commit

Permalink
Fix label in test
Browse files Browse the repository at this point in the history
  • Loading branch information
brookewp committed Jan 12, 2024
1 parent 6dc8d44 commit 505ac98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/components/src/box-control/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ describe( 'BoxControl', () => {
).toHaveValue( '50' );
} );

it( 'should show "Mixed sides" label when sides have different values but are linked', async () => {
it( 'should show "Mixed" label when sides have different values but are linked', async () => {
const user = userEvent.setup();

render( <Example /> );
Expand All @@ -299,9 +299,7 @@ describe( 'BoxControl', () => {

await user.click( unlinkButton );

expect(
screen.getByRole( 'textbox', { name: 'Mixed sides' } )
).toHaveValue( '' );
expect( screen.getByPlaceholderText( 'Mixed' ) ).toHaveValue( '' );
} );
} );

Expand Down

0 comments on commit 505ac98

Please sign in to comment.