@@ -39,9 +39,9 @@ describe('Layout component', () => {
3939 fireEvent . click ( getByText ( 'History' ) ) ;
4040 expect ( store . router . location . pathname ) . toBe ( '/history' ) ;
4141 expect ( getByText ( 'History' ) . parentElement ) . toHaveClass ( 'active' ) ;
42- fireEvent . click ( getByText ( 'Lightning Terminal ' ) ) ;
42+ fireEvent . click ( getByText ( 'Lightning Loop ' ) ) ;
4343 expect ( store . router . location . pathname ) . toBe ( '/loop' ) ;
44- expect ( getByText ( 'Lightning Terminal ' ) . parentElement ) . toHaveClass ( 'active' ) ;
44+ expect ( getByText ( 'Lightning Loop ' ) . parentElement ) . toHaveClass ( 'active' ) ;
4545 } ) ;
4646
4747 it ( 'should navigate to the Pool page' , ( ) => {
@@ -50,9 +50,9 @@ describe('Layout component', () => {
5050 fireEvent . click ( getByText ( 'Lightning Pool' ) ) ;
5151 expect ( store . router . location . pathname ) . toBe ( '/pool' ) ;
5252 expect ( getByText ( 'Lightning Pool' ) . parentElement ) . toHaveClass ( 'active' ) ;
53- fireEvent . click ( getByText ( 'Lightning Terminal ' ) ) ;
53+ fireEvent . click ( getByText ( 'Lightning Loop ' ) ) ;
5454 expect ( store . router . location . pathname ) . toBe ( '/loop' ) ;
55- expect ( getByText ( 'Lightning Terminal ' ) . parentElement ) . toHaveClass ( 'active' ) ;
55+ expect ( getByText ( 'Lightning Loop ' ) . parentElement ) . toHaveClass ( 'active' ) ;
5656 } ) ;
5757
5858 it ( 'should navigate to the Settings page' , ( ) => {
@@ -61,8 +61,8 @@ describe('Layout component', () => {
6161 fireEvent . click ( getByText ( 'Settings' ) ) ;
6262 expect ( store . router . location . pathname ) . toBe ( '/settings' ) ;
6363 expect ( getByText ( 'Settings' ) . parentElement ) . toHaveClass ( 'active' ) ;
64- fireEvent . click ( getByText ( 'Lightning Terminal ' ) ) ;
64+ fireEvent . click ( getByText ( 'Lightning Loop ' ) ) ;
6565 expect ( store . router . location . pathname ) . toBe ( '/loop' ) ;
66- expect ( getByText ( 'Lightning Terminal ' ) . parentElement ) . toHaveClass ( 'active' ) ;
66+ expect ( getByText ( 'Lightning Loop ' ) . parentElement ) . toHaveClass ( 'active' ) ;
6767 } ) ;
6868} ) ;
0 commit comments