mirror of
https://github.com/actions/setup-python.git
synced 2024-11-06 07:55:52 -05:00
8 lines
498 B
TypeScript
8 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 };
|