test: refactor test-tls-alert-handling
- process.on('exit',...) checks -> common.mustCall()
- remove unused function parameters
- var -> const/let
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test tls