test: refactor test-repl-mode.js
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included
Affected core subsystem(s)
- test
Description of change
* var -> const/let
* assert.equal() -> assert.strictEqual()