strong-mock
Version:
Type safe mocking library for TypeScript
15 lines (14 loc) • 444 B
TypeScript
import type { Expectation } from '../expectation/expectation';
import type { Property } from '../proxy';
type MatcherResult = {
expected: unknown;
actual: unknown;
};
interface MatcherError {
matcherResult?: MatcherResult;
}
export declare class UnexpectedCall extends Error implements MatcherError {
matcherResult?: MatcherResult;
constructor(property: Property, args: unknown[], expectations: Expectation[]);
}
export {};