Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 3, 2023
1 parent 1d3dee0 commit f4f55b0
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 @@ -59,8 +59,9 @@ function expectError(run) {
"\n at ... internal jest frames ...\n at new Promise (<anonymous>)",
"",
);
// For some reason this is only there in Node.js 10
stack = stack.replace(
"\n at process._tickCallback (internal/process/next_tick.js:68:7)",
"\n at process._tickCallback (... internal node frames ...)",
"",
);
// Node.js 8
Expand Down

0 comments on commit f4f55b0

Please sign in to comment.