@@ -235,9 +235,7 @@ describe('createExternalResourceSubscription', () => {
235235
236236 // Duration grows (backend appended more segments). Trigger via a
237237 // metadata push with the new duration.
238- getExternalProfileSegmentsSinceMock . mockResolvedValueOnce (
239- segments ( [ { start_offset : '00:01:00' , value : 'C' } ] ) ,
240- ) ;
238+ getExternalProfileSegmentsSinceMock . mockResolvedValueOnce ( segments ( [ { start_offset : '00:01:00' , value : 'C' } ] ) ) ;
241239 planDatasetsValue . set ( [
242240 makePlanDataset ( { datasetId : 1 , profiles : [ makeProfile ( { duration : '00:02:00' , id : 11 , name : 'r' } ) ] } ) ,
243241 ] ) ;
@@ -269,9 +267,7 @@ describe('createExternalResourceSubscription', () => {
269267 } ) ;
270268
271269 test ( 'profile-row switch resets accumulator and refetches with sentinel offset' , async ( ) => {
272- getExternalProfileSegmentsSinceMock . mockResolvedValueOnce (
273- segments ( [ { start_offset : '00:00:30' , value : 'A' } ] ) ,
274- ) ;
270+ getExternalProfileSegmentsSinceMock . mockResolvedValueOnce ( segments ( [ { start_offset : '00:00:30' , value : 'A' } ] ) ) ;
275271
276272 const profileA = makeProfile ( { duration : '00:01:00' , id : 11 , name : 'r' } ) ;
277273 planDatasetsValue . set ( [ makePlanDataset ( { datasetId : 1 , profiles : [ profileA ] } ) ] ) ;
@@ -286,9 +282,7 @@ describe('createExternalResourceSubscription', () => {
286282 // A different profile under the same name (different id and dataset)
287283 // wins on the next tick. Accumulator must reset and refetch with the
288284 // sentinel.
289- getExternalProfileSegmentsSinceMock . mockResolvedValueOnce (
290- segments ( [ { start_offset : '00:00:00' , value : 'B' } ] ) ,
291- ) ;
285+ getExternalProfileSegmentsSinceMock . mockResolvedValueOnce ( segments ( [ { start_offset : '00:00:00' , value : 'B' } ] ) ) ;
292286 const profileB = makeProfile ( { duration : '00:01:00' , id : 99 , name : 'r' } ) ;
293287 planDatasetsValue . set ( [ makePlanDataset ( { datasetId : 2 , profiles : [ profileB ] } ) ] ) ;
294288 await flushPromises ( ) ;
0 commit comments