10 lines
235 B
JavaScript
10 lines
235 B
JavaScript
import runPrettier from "../runPrettier.js";
|
|
|
|
describe("exits with non-zero code when input has a syntax error", () => {
|
|
runPrettier("cli/with-shebang", ["--parser", "babel"], {
|
|
input: "a.2",
|
|
}).test({
|
|
status: 2,
|
|
});
|
|
});
|