test: refactor test-handle-wrap-close-abort
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test process
Description of change
- use common.mustCall() to confirm number of uncaught exceptions
- var -> const
- specify duratino of 1ms for setTimeout() and setInterval()