Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Oct 15, 2021
1 parent 4fd1180 commit b84efec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ describe('useStepWaterfallMetrics', () => {
},
index: 'heartbeat-*',
},
['heartbeat-*', '44D-444FFF-444-FFF-3333', true]
['heartbeat-*', '44D-444FFF-444-FFF-3333', true],
{ name: 'getWaterfallStepMetrics' }
);
expect(result.current).toEqual({
loading: false,
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/uptime/public/state/api/snapshot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe('snapshot API', () => {
get: jest.fn(),
fetch: jest.fn(),
} as any;
apiService.addInspectorRequest = jest.fn();
fetchMock = jest.spyOn(apiService.http, 'fetch');
mockResponse = { up: 3, down: 12, total: 15 };
});
Expand Down

0 comments on commit b84efec

Please sign in to comment.