13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
import runPrettier from "../run-prettier.js";
|
|
|
|
describe("parser preprocess function is used to reshape input text", () => {
|
|
runPrettier("plugins/preprocess", ["*.foo", "--plugin=./plugin.cjs"], {
|
|
ignoreLineEndings: true,
|
|
}).test({
|
|
stdout: "preprocessed:contents",
|
|
stderr: "",
|
|
status: 0,
|
|
write: [],
|
|
});
|
|
});
|