test: fix tests for non-crypto builds
Checklist
-
tests and code linting passes -
the commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
Fix running the tests when node was compiled without crypto support. Some of these were introduced in 52bae222, where common
was used before it was required.
Regular CI: https://ci.nodejs.org/job/node-test-commit/3575/
/cc @nodejs/testing