Skip to content

Commit

Permalink
fix typings for a test
Browse files Browse the repository at this point in the history
didn't merge latest master in elastic#32063
  • Loading branch information
mshustov committed Feb 28, 2019
1 parent 8c6b1e5 commit 87e1b99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const mockPersistedLog = {
get: jest.fn(() => ['response:200']),
};

const mockPersistedLogFactory = jest.fn<jest.Mocked<typeof mockPersistedLog>>(() => {
const mockPersistedLogFactory = jest.fn<jest.Mocked<typeof mockPersistedLog>, any>(() => {
return mockPersistedLog;
});

Expand Down

0 comments on commit 87e1b99

Please sign in to comment.