Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Matsuoka committed Dec 2, 2024
1 parent b09d351 commit 05f0000
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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('<AutomatedAnalysisCard />', () => {
let preloadedState: RootState;
Expand Down Expand Up @@ -244,13 +243,15 @@ describe('<AutomatedAnalysisCard />', () => {
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: [
Expand Down
3 changes: 1 addition & 2 deletions src/test/Recordings/ActiveRecordingsTable.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 05f0000

Please sign in to comment.