mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-11 08:30:07 +01:00
11 lines
298 B
TypeScript
11 lines
298 B
TypeScript
import Mastodon, { MegalodonInstance } from 'megalodon'
|
|
|
|
interface MockedMegalodon extends MegalodonInstance {
|
|
mockResolvedValue: Function
|
|
mockImplementation: Function
|
|
mockClear: Function
|
|
}
|
|
|
|
const mockedMegalodon: jest.Mocked<MockedMegalodon> = Mastodon as any
|
|
export default mockedMegalodon
|