UNPKG

stu

Version:

Stub dependencies when testing

7 lines (6 loc) 341 B
import mockModule from './mockModule'; declare const mock: (modulePath: string, mockFn?: (module: any) => any) => any; declare const overwrite: (modulePath: string, value: any) => any; declare const test: (modulePath: string) => any; declare const flush: (modulePath: string) => boolean; export { mock, overwrite, test, flush, mockModule };