test: refactor test to use latest standards
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
refactor test to use latest standards - change var to const - function to => - equal to strictEqual