test: update test-tls-alert-handling.js
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
- var —> const / let
- common.mustCall(*, n) for functions that need to be called exactly n times