Files
test-repo/tests_integration/__tests__/syntax-error.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
252 B
JavaScript
Raw Normal View History

"use strict";
const runPrettier = require("../runPrettier");
describe("exits with non-zero code when input has a syntax error", () => {
2020-02-27 02:19:52 +02:00
runPrettier("cli/with-shebang", ["--parser", "babel"], {
input: "a.2",
}).test({
status: 2,
});
});