test: use common.js to check platform
Hi,
since common.js
has helper variables we can use them to check platforms instead of usage process.platform === ...
.
Actually common.js
is used everywhere in tests for this, but except one place and this PR should replace this place with common.js
:)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test