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.

7 lines
184 B
JavaScript
Raw Normal View History

describe("exits with non-zero code when input has a syntax error", () => {
runCli("cli/with-shebang", ["--parser", "babel"], {
input: "a.2",
}).test({
status: 2,
});
});