Skip to content

Commit

Permalink
[ML] Fixes jest mock type.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Mar 12, 2019
1 parent b0e5114 commit 20b7083
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('annotation_service', () => {
message: 'mock error message',
};

const callWithRequestSpyError = jest.fn(() => {
const callWithRequestSpyError: jest.Mock = jest.fn(() => {
return Promise.resolve(mockEsError);
});

Expand Down

0 comments on commit 20b7083

Please sign in to comment.