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

13 lines
347 B
JavaScript

import runPrettier from "../runPrettier.js";
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,
});
});