Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 3, 2023
1 parent 81cfacf commit b221bb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/babel-core/test/errors-stacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function expectError(run) {
run();
} catch (e) {
let { stack } = e;
return expect(stack);
// Normalize windows paths
stack = stack.replace(/\\/g, "/");
// Remove absolute URLs
Expand Down Expand Up @@ -78,7 +79,7 @@ function expectError(run) {
const fixture = name => path.join(__dirname, "fixtures/errors", name);

describe("@babel/core errors", function () {
it("error inside config function", function () {
it.only("error inside config function", function () {
expectError(() => {
babel.parseSync("foo;", {
root: fixture("error-config-function"),
Expand Down

0 comments on commit b221bb1

Please sign in to comment.