Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Dec 16, 2022
1 parent f4ab889 commit 150e3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-core/test/config-ts.js
Expand Up @@ -34,7 +34,7 @@ describe("@babel/core config with ts", () => {
"fixtures/config-ts/invalid-cts-register/babel.config.cts",
),
});
}).toThrowErrorMatchingInlineSnapshot(`"Unexpected identifier 'config'"`);
}).toThrow(/Unexpected identifier.*/);
delete require.extensions[".ts"];
});

Expand Down

0 comments on commit 150e3f4

Please sign in to comment.