@@ -641,9 +641,9 @@ test('includes parent_slice_id in child slice requests when parent has slice_id'
641641 } ) ;
642642
643643 // Check that the child slice requests include parent_slice_id
644- const { calls} = mockGet . mock ;
644+ const { calls } = mockGet . mock ;
645645 calls . forEach ( call => {
646- const { endpoint} = call [ 0 ] ;
646+ const { endpoint } = call [ 0 ] ;
647647 if ( endpoint . includes ( 'api/v1/explore/form_data' ) ) {
648648 const body = JSON . parse ( call [ 0 ] . body ) ;
649649 expect ( body . form_data ) . toMatchObject ( {
@@ -690,9 +690,9 @@ test('includes parent_slice_id in embedded mode', async () => {
690690 } ) ;
691691
692692 // Verify parent_slice_id is included in embedded mode
693- const { calls} = mockGet . mock ;
693+ const { calls } = mockGet . mock ;
694694 calls . forEach ( call => {
695- const { endpoint} = call [ 0 ] ;
695+ const { endpoint } = call [ 0 ] ;
696696 if ( endpoint . includes ( 'api/v1/explore/form_data' ) ) {
697697 const body = JSON . parse ( call [ 0 ] . body ) ;
698698 expect ( body . form_data . parent_slice_id ) . toBe ( parentSliceId ) ;
@@ -733,9 +733,9 @@ test('does not include parent_slice_id when parent has no slice_id', async () =>
733733 } ) ;
734734
735735 // Verify parent_slice_id is not included when parent has no slice_id
736- const { calls} = mockGet . mock ;
736+ const { calls } = mockGet . mock ;
737737 calls . forEach ( call => {
738- const { endpoint} = call [ 0 ] ;
738+ const { endpoint } = call [ 0 ] ;
739739 if ( endpoint . includes ( 'api/v1/explore/form_data' ) ) {
740740 const body = JSON . parse ( call [ 0 ] . body ) ;
741741 expect ( body . form_data . parent_slice_id ) . toBeUndefined ( ) ;
0 commit comments