Files
test-repo/tests_integration/__tests__/syntax-error.js
T
Ika d9737e6ffa test: fix snapshots (#2957)
* test: trigger test to check its status

* test: update snapshots

* refactor: use strip-ansi
2017-10-02 19:56:34 +02:00

12 lines
240 B
JavaScript

"use strict";
const runPrettier = require("../runPrettier");
describe("exits with non-zero code when input has a syntax error", () => {
runPrettier("cli/with-shebang", ["--stdin"], {
input: "a.2"
}).test({
status: 2
});
});