@unibeautify/beautifier-sqlformat
Version:
sqlformat beautifier for Unibeautify
17 lines • 513 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Wraps a string in a marker object that is used by `./raw-serializer.js` to
* directly print that string in a snapshot without escaping all double quotes.
* Backticks will still be escaped.
*/
function raw(text) {
if (typeof text !== "string") {
throw new Error("Raw snapshots have to be strings.");
}
return {
[Symbol.for("raw")]: text,
};
}
exports.raw = raw;
//# sourceMappingURL=utils.js.map
;