Skip to content

Commit

Permalink
improve naming
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz authored and aaronrobertshaw committed Feb 7, 2023
1 parent add493d commit 816afb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/tools-panel/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,9 @@ describe( 'ToolsPanel', () => {

rerender( <ToolsPanelOptional toolsPanelItemValue={ 100 } /> );

const control2 = screen.queryByText( 'Optional control' );
const controlRerendered = screen.queryByText( 'Optional control' );

expect( control2 ).toBeInTheDocument();
expect( controlRerendered ).toBeInTheDocument();
} );

it( 'should continue to render shown by default item after it is toggled off via menu item', async () => {
Expand Down

0 comments on commit 816afb5

Please sign in to comment.