Skip to content

Commit

Permalink
Skip @babel/types@7 test on Babel 8
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Dec 4, 2020
1 parent cdcdabc commit 1e31f38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/babel-types/test/regressions.js
@@ -1,7 +1,9 @@
import * as t from "../lib";

describe("regressions", () => {
it("jest .toMatchInlineSnapshot used 'Line' for comments", () => {
const babel7 = process.env.BABEL_TYPES_8_BREAKING ? it.skip : it;

babel7("jest .toMatchInlineSnapshot used 'Line' for comments", () => {
expect(() => {
t.file(t.program([]), [{ type: "Line" }]);
}).not.toThrow();
Expand Down

0 comments on commit 1e31f38

Please sign in to comment.