Repository navigation
repl,test: no test coverage for repl.start({ eval: fn }) #3544
Description
Activity
- addedreplIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
on Oct 27, 2015 On tab completion -
evalwill be called with.scopeas an input string.I can't make this work,
cmdis never'.scope'.I think it originated in aad12d0
/cc @TooTallNate in that case.
var pr = repl.start({eval: ...}); pr.context = {};eval will be called with
.scopecommand when the user hits tab on a simple expression without dot (including an empty line).- added a commit that references this issue
on Feb 11, 2016 I've added a minimal test at #5192.
I too am unable to get the repl to fire the eval function on tab completion. ??? Assuming I'm not just Doing It Wrong, there should probably be a separate issue filed for that.
@Trott thoughts on LTS?
I'd say yes, add to LTS.
I too am unable to get the repl to fire the eval function on tab completion. ??? Assuming I'm not just Doing It Wrong, there should probably be a separate issue filed for that.
Filed #5232 for that.
- added a commit that references this issue
on Feb 15, 2016 - added 2 commits that reference this issue
on Feb 18, 2016 - added a commit that references this issue
on Feb 23, 2016 - added a commit that references this issue
on Mar 2, 2016 - added a commit that references this issue
on Jul 27, 2026
It looks like we have no test coverage for the
evaloption torepl.start(). This should be remedied.The only test I can find that passes
evalistest/parallel/test-repl-options.jsbut it doesn't exercise its functionality, the callback is just a stub.