1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00
setup-python/node_modules/bs-logger/dist/testing/index.d.ts

9 lines
498 B
TypeScript
Raw Normal View History

2019-06-27 09:12:00 +08:00
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 };