test: use mustSucceed in test-repl-tab-complete-import · nodejs/node@b2b8383 · GitHub
Skip to content

Commit b2b8383

Browse files
KimSH39targos
authored andcommitted
test: use mustSucceed in test-repl-tab-complete-import
Refactor test/parallel/test-repl-tab-complete-import.js to use mustSucceed in places where no error is expected in the callback. This clarifies the intent of the tests and improves assertion accuracy. Refs: #59204 PR-URL: #59368 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e3ad5cc commit b2b8383

1 file changed

Lines changed: 10 additions & 19 deletions

File tree

test/parallel/test-repl-tab-complete-import.js

Lines changed: 10 additions & 19 deletions

0 commit comments

Comments
 (0)