Files
test-repo/tests_integration/__tests__/debug-print-doc.js
T
Georgii Dolzhykov 56840d4890 Followup for #10169: minor tweaks (#10177)
* Followup for #10169: minor tweaks

* Add Copy doc button to Playground
2021-01-30 18:25:43 +02:00

15 lines
319 B
JavaScript

"use strict";
const runPrettier = require("../runPrettier");
describe("prints doc with --debug-print-doc", () => {
runPrettier("cli/with-shebang", ["--debug-print-doc", "--parser", "babel"], {
input: "0",
}).test({
stdout: '["0", ";", hardline]\n',
stderr: "",
status: 0,
write: [],
});
});