Files
test-repo/tests/integration/__tests__/plugin-preprocess.js
T

14 lines
351 B
JavaScript

import runPrettier from "../runPrettier.js";
const EOL = "\n";
describe("parser preprocess function is used to reshape input text", () => {
runPrettier("plugins/preprocess", ["*.foo", "--plugin=./plugin"], {
ignoreLineEndings: true,
}).test({
stdout: "preprocessed:contents" + EOL,
stderr: "",
status: 0,
write: [],
});
});