1 2 3 4 5 6 7 8 9 | 1× 1× 1× 16× 1× | import { MatchError } from "../_errors"; export class ContentsMatchError extends MatchError { public constructor(actualValue: any, expectedContent: any, shouldMatch: boolean) { super(actualValue, expectedContent, `Expected ${JSON.stringify(actualValue)} ${!shouldMatch ? "not " : ""}to contain ${JSON.stringify(expectedContent)}.`); } } |