export function TestPromise(cb: (_done: () => void) => void): Promise { return new Promise(done => cb(done)); }