summaryrefslogtreecommitdiffhomepage
path: root/flow-libs/tests.js.flow
blob: b1daeefa4cbe0cbd9b50c3b046cd2c5db73412a6 (plain)
1
2
3
4
5
6
7
// We use electron-mocha which has a child dependency on mocha.
// However flow-typed does not automatically pull annotations for mocha.
// These stubs remedy the absence of those.
declare function describe(string, Function): void;
declare function it(string, (done: Function) => any): Promise<any> | void;
declare function afterEach((done: Function) => void): Promise<any> | void;
declare function beforeEach((done: Function) => void): Promise<any> | void;