earljs
Version:
Ergonomic, modern and type-safe assertion library
20 lines (19 loc) • 542 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatCompact = void 0;
const format_1 = require("./format");
const FORMAT_OPTIONS = {
compareErrorStack: false,
ignorePrototypes: false,
minusZero: false,
uniqueNaNs: false,
indentSize: 0,
inline: true,
maxLineLength: 30,
skipMatcherReplacement: true,
requireStrictEquality: false,
};
function formatCompact(value) {
return (0, format_1.format)(value, null, FORMAT_OPTIONS);
}
exports.formatCompact = formatCompact;
;