Skip to content

Commit 85512ed

Browse files
committed
Remove unnecessary mocks
1 parent de58a9c commit 85512ed

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

x-pack/plugins/watcher/__jest__/client_integration/watch_create_threshold.test.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ jest.mock('../../public/application/lib/api', () => {
5050

5151
return {
5252
...original,
53-
loadIndexPatterns: async () => {
54-
return ['index1', 'index2', 'index3'];
55-
},
5653
getHttpClient: () => mockHttpClient,
5754
};
5855
});

x-pack/plugins/watcher/__jest__/client_integration/watch_edit.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jest.mock('../../public/application/lib/api', () => {
2323

2424
return {
2525
...original,
26-
loadIndexPatterns: async () => {
27-
return ['index1', 'index2', 'index3'];
28-
},
2926
getHttpClient: () => mockHttpClient,
3027
};
3128
});

0 commit comments

Comments
 (0)