@@ -39,9 +39,9 @@ describe('Layout component', () => {
39
39
fireEvent . click ( getByText ( 'History' ) ) ;
40
40
expect ( store . router . location . pathname ) . toBe ( '/history' ) ;
41
41
expect ( getByText ( 'History' ) . parentElement ) . toHaveClass ( 'active' ) ;
42
- fireEvent . click ( getByText ( 'Lightning Terminal ' ) ) ;
42
+ fireEvent . click ( getByText ( 'Lightning Loop ' ) ) ;
43
43
expect ( store . router . location . pathname ) . toBe ( '/loop' ) ;
44
- expect ( getByText ( 'Lightning Terminal ' ) . parentElement ) . toHaveClass ( 'active' ) ;
44
+ expect ( getByText ( 'Lightning Loop ' ) . parentElement ) . toHaveClass ( 'active' ) ;
45
45
} ) ;
46
46
47
47
it ( 'should navigate to the Pool page' , ( ) => {
@@ -50,9 +50,9 @@ describe('Layout component', () => {
50
50
fireEvent . click ( getByText ( 'Lightning Pool' ) ) ;
51
51
expect ( store . router . location . pathname ) . toBe ( '/pool' ) ;
52
52
expect ( getByText ( 'Lightning Pool' ) . parentElement ) . toHaveClass ( 'active' ) ;
53
- fireEvent . click ( getByText ( 'Lightning Terminal ' ) ) ;
53
+ fireEvent . click ( getByText ( 'Lightning Loop ' ) ) ;
54
54
expect ( store . router . location . pathname ) . toBe ( '/loop' ) ;
55
- expect ( getByText ( 'Lightning Terminal ' ) . parentElement ) . toHaveClass ( 'active' ) ;
55
+ expect ( getByText ( 'Lightning Loop ' ) . parentElement ) . toHaveClass ( 'active' ) ;
56
56
} ) ;
57
57
58
58
it ( 'should navigate to the Settings page' , ( ) => {
@@ -61,8 +61,8 @@ describe('Layout component', () => {
61
61
fireEvent . click ( getByText ( 'Settings' ) ) ;
62
62
expect ( store . router . location . pathname ) . toBe ( '/settings' ) ;
63
63
expect ( getByText ( 'Settings' ) . parentElement ) . toHaveClass ( 'active' ) ;
64
- fireEvent . click ( getByText ( 'Lightning Terminal ' ) ) ;
64
+ fireEvent . click ( getByText ( 'Lightning Loop ' ) ) ;
65
65
expect ( store . router . location . pathname ) . toBe ( '/loop' ) ;
66
- expect ( getByText ( 'Lightning Terminal ' ) . parentElement ) . toHaveClass ( 'active' ) ;
66
+ expect ( getByText ( 'Lightning Loop ' ) . parentElement ) . toHaveClass ( 'active' ) ;
67
67
} ) ;
68
68
} ) ;
0 commit comments