test: replace setInterval with setImmediate
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
The 2nd argument for setInterval()
was not given, so replaced it with
with setImmediate()
.
This is a part of Code And Learn at NodeFest 2016 nodejs/code-and-learn#58