UNPKG

502 BTypeScriptView Raw
1import { SinonSandbox } from 'sinon';
2import { Logger } from './create_logger_stub';
3export { SinonStub, SinonSpy, SinonFake, SinonMock, SinonFakeTimers, SinonSandbox } from 'sinon';
4/**
5 * Create a Sinon sandbox that resets itself between each test. Also returns a goodeggs-logger stub
6 * that is stubbed using the returned sandbox.
7 */
8export default function useSinonSandbox(): {
9 sandbox: SinonSandbox;
10 stubLogger: (logger: Logger) => void;
11};
12//# sourceMappingURL=use_sinon_sandbox.d.ts.map
\No newline at end of file