diff --git a/src/test/Dashboard/AutomatedAnalysis/AutomatedAnalysisCard.test.tsx b/src/test/Dashboard/AutomatedAnalysis/AutomatedAnalysisCard.test.tsx index b0ce22e86..f78944d4d 100644 --- a/src/test/Dashboard/AutomatedAnalysis/AutomatedAnalysisCard.test.tsx +++ b/src/test/Dashboard/AutomatedAnalysis/AutomatedAnalysisCard.test.tsx @@ -215,8 +215,7 @@ jest.spyOn(defaultServices.target, 'authRetry').mockReturnValue(of()); jest .spyOn(defaultServices.settings, 'automatedAnalysisRecordingConfig') .mockReturnValue(defaultAutomatedAnalysisRecordingConfig); - jest.spyOn(defaultServices.reports, 'getJobIds') - .mockReturnValue(mockJobIdList); +jest.spyOn(defaultServices.reports, 'getJobIds').mockReturnValue(mockJobIdList); describe('', () => { let preloadedState: RootState; @@ -244,13 +243,15 @@ describe('', () => { it('renders report generation error view correctly', async () => { jest.spyOn(defaultServices.api, 'graphql').mockReturnValueOnce(of(mockActiveRecordingsResponse)); jest.spyOn(defaultServices.reports, 'reportJson').mockReturnValueOnce(of()); - jest.spyOn(defaultServices.notificationChannel, 'messages').mockReturnValueOnce(of()) - .mockReturnValueOnce(of()) - .mockReturnValueOnce(of()) - .mockReturnValueOnce(of()) - .mockReturnValueOnce(of()) - .mockReturnValueOnce(of()) - .mockReturnValueOnce(of()); + jest + .spyOn(defaultServices.notificationChannel, 'messages') + .mockReturnValueOnce(of()) + .mockReturnValueOnce(of()) + .mockReturnValueOnce(of()) + .mockReturnValueOnce(of()) + .mockReturnValueOnce(of()) + .mockReturnValueOnce(of()) + .mockReturnValueOnce(of()); render({ routerConfigs: { routes: [ diff --git a/src/test/Recordings/ActiveRecordingsTable.test.tsx b/src/test/Recordings/ActiveRecordingsTable.test.tsx index b9b4b2a20..38cb3f2f1 100644 --- a/src/test/Recordings/ActiveRecordingsTable.test.tsx +++ b/src/test/Recordings/ActiveRecordingsTable.test.tsx @@ -108,8 +108,7 @@ jest.spyOn(defaultServices.api, 'stopRecording').mockReturnValue(of(true)); jest.spyOn(defaultServices.api, 'uploadActiveRecordingToGrafana').mockReturnValue(of(true)); jest.spyOn(defaultServices.target, 'target').mockReturnValue(of(mockTarget)); jest.spyOn(defaultServices.target, 'authFailure').mockReturnValue(of()); -jest.spyOn(defaultServices.reports, 'getJobIds') -.mockReturnValue(mockJobIdList); +jest.spyOn(defaultServices.reports, 'getJobIds').mockReturnValue(mockJobIdList); jest.spyOn(defaultServices.reports, 'delete').mockReturnValue(void 0);