setup-php/node_modules/bs-logger/dist/testing/index.d.ts
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

9 lines
498 B
TypeScript

import { CreateLoggerOptions, Logger } from '../logger';
import { ExtendedArray, LogTargetMock, extendArray } from './target-mock';
declare const setupForTesting: (target?: LogTargetMock) => void;
interface LoggerMock extends Logger {
readonly target: LogTargetMock;
}
declare const createLoggerMock: (options?: CreateLoggerOptions | undefined, target?: LogTargetMock) => LoggerMock;
export { LogTargetMock, ExtendedArray, extendArray, setupForTesting as setup, createLoggerMock, LoggerMock };