UNPKG

@iobroker/testing

Version:

Shared utilities for adapter and module testing in ioBroker

11 lines (10 loc) 309 B
import { type Mock } from './tools'; export type MockLogger = Mock<ioBroker.Logger> & { resetMock(): void; resetMockHistory(): void; resetMockBehavior(): void; }; /** * Creates an adapter mock that is connected to a given database mock */ export declare function createLoggerMock(): MockLogger;