test: make repl tests more resilient · nodejs/node@506b50a · GitHub
Skip to content

Commit 506b50a

Browse files
BridgeARtargos
authored andcommitted
test: make repl tests more resilient
This refactors two tests to ignore line numbers in stack traces. That way changed line numbers do not have any impact on the test outcome anymore. PR-URL: #28608 Fixes: #28546 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
1 parent af6608c commit 506b50a

2 files changed

Lines changed: 19 additions & 11 deletions

File tree

test/parallel/test-repl-pretty-custom-stack.js

Lines changed: 8 additions & 4 deletions

test/parallel/test-repl-pretty-stack.js

Lines changed: 11 additions & 7 deletions

0 commit comments

Comments
 (0)