test: abstract skip functionality to common
Checklist
-
tests and code linting passes -
a test and/or benchmark is included -
the commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
The tap skipping output is so prevalent yet obscure in nature that we ought to move it into it's own function in test/common.js
cc @nodejs/testing