@@ -94,9 +94,7 @@ describe('WorkspaceTravelInvoicingSection', () => {
9494 // Wait for component to render
9595 await waitForBatchedUpdatesWithAct ( ) ;
9696
97- // Then the Travel Booking section should be visible
98- expect ( screen . getByText ( 'Travel booking' ) ) . toBeTruthy ( ) ;
99- // And the Central Invoicing section should be visible
97+ // Central Invoicing section should be visible
10098 expect ( screen . getByText ( 'Central invoicing' ) ) . toBeTruthy ( ) ;
10199 } ) ;
102100
@@ -118,9 +116,7 @@ describe('WorkspaceTravelInvoicingSection', () => {
118116
119117 await waitForBatchedUpdatesWithAct ( ) ;
120118
121- // Then the Travel Booking section should be visible
122- expect ( screen . getByText ( 'Travel booking' ) ) . toBeTruthy ( ) ;
123- // And the Central Invoicing section should be visible
119+ // The Central Invoicing section should be visible
124120 expect ( screen . getByText ( 'Central invoicing' ) ) . toBeTruthy ( ) ;
125121 } ) ;
126122 } ) ;
@@ -155,8 +151,8 @@ describe('WorkspaceTravelInvoicingSection', () => {
155151
156152 await waitForBatchedUpdatesWithAct ( ) ;
157153
158- // Then the section title should be visible
159- expect ( screen . getByText ( 'Travel booking ' ) ) . toBeTruthy ( ) ;
154+ // The section title should be visible
155+ expect ( screen . getByText ( 'Central invoicing ' ) ) . toBeTruthy ( ) ;
160156 } ) ;
161157
162158 it ( 'should display current travel spend label when configured' , async ( ) => {
0 commit comments