[v10.x backport] test: move tick.js from test/async-hooks to test/common
Backport: https://github.com/nodejs/node/pull/23551
cc: @addaleax
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines