Files
test-repo/tests/integration/__tests__/debug-print-comments.js
T

11 lines
301 B
JavaScript

describe("prints information for debugging comment attachment with --debug-print-comments", () => {
runPrettier(
"cli/with-shebang",
["--debug-print-comments", "--parser", "babel"],
{ input: "/* 1 */\nconsole.log(foo /* 2 */); // 3" }
).test({
stderr: "",
status: 0,
});
});