test: change var to const and add mustCall in crypto tests
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)
Description of change
test: change var to const and add mustCall in crypto tests. Did not add mustCall on process exit