fix typings for a test (#32217)

didn't merge latest master in https://github.com/elastic/kibana/pull/32063
This commit is contained in:
Mikhail Shustov 2019-02-28 18:31:03 +01:00 committed by GitHub
parent 2dd80ba3ad
commit e4e3354090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
});