1 | import { SinonSandbox } from 'sinon';
|
2 | import { Logger } from './create_logger_stub';
|
3 | export { 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 | */
|
8 | export 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 |