Prepare codebase for inline Babel 8 breaking changes (#12440)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user