2017-10-02 11:08:34 -05:00
|
|
|
describe("exits with non-zero code when input has a syntax error", () => {
|
2023-04-11 08:44:23 +08:00
|
|
|
runCli("cli/with-shebang", ["--parser", "babel"], {
|
2017-06-15 19:10:39 -04:00
|
|
|
input: "a.2",
|
2017-10-02 11:08:34 -05:00
|
|
|
}).test({
|
|
|
|
|
status: 2,
|
2017-06-15 19:10:39 -04:00
|
|
|
});
|
|
|
|
|
});
|