"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const toBeTrueWith = (received, comparator, expected) => comparator(received, expected)
    ? {
        message: () => `Expected ${comparator.name} to return false with: ('${JSON.stringify(received)}', '${JSON.stringify(expected)}')`,
        pass: true,
    }
    : {
        message: () => `Expected ${comparator.name} to return true with: ('${JSON.stringify(received)}', '${JSON.stringify(expected)}')`,
        pass: false,
    };
exports.toBeTrueWith = toBeTrueWith;
