chai-callslike
Version:
A simple sinon-chai assertion to validate many aspects of stub calls
11 lines (10 loc) • 405 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBaseTypeDiff = void 0;
const print_1 = require("./print");
function getBaseTypeDiff(actual, expected) {
const actualInfo = print_1.printValue(actual);
const expectedInfo = print_1.printValue(expected);
return print_1.printComparison(actualInfo, expectedInfo);
}
exports.getBaseTypeDiff = getBaseTypeDiff;