File tree Expand file tree Collapse file tree
packages/faustwp-core/tests/components/Toolbar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ import { ToolbarNode } from '../../../src/components/Toolbar';
66
77test ( 'renders the component correctly' , ( ) => {
88 render ( < ToolbarNode /> ) ;
9- const liElement = screen . getByRole ( / l i s t i t e m / i ) ;
9+ const liElement = screen . getByRole ( ' listitem' ) ;
1010 expect ( liElement ) . toBeInTheDocument ( ) ;
1111} ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ import { ToolbarNode } from '../../../src/components/Toolbar';
66
77test ( 'renders the component correctly' , ( ) => {
88 render ( < ToolbarNode id = "1" /> ) ;
9- const aElement = screen . getByRole ( / l i s t i t e m / i ) ;
9+ const aElement = screen . getByRole ( ' listitem' ) ;
1010 expect ( aElement ) . toBeInTheDocument ( ) ;
1111} ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ import { ToolbarSubmenu } from '../../../src/components/Toolbar';
66
77test ( 'renders the component correctly' , ( ) => {
88 render ( < ToolbarSubmenu id = "1" /> ) ;
9- const aElement = screen . getByRole ( / l i s t / i ) ;
9+ const aElement = screen . getByRole ( ' list' ) ;
1010 expect ( aElement ) . toBeInTheDocument ( ) ;
1111} ) ;
You can’t perform that action at this time.
0 commit comments