Skip to content

test: move tick.js from test/async-hooks to test/common

Rodrigo Muino Tomonari requested to merge github/fork/arur/move-tick into master
Move tick.js from test/async-hooks to test/common

tick.js provides a helper function that can be used to call a callback after a given number of event loop "ticks". Similar tick functions were used in couple of different tests as well. This commit moves tick.js from test/async-hooks/tick.js to test/common, updates corresponding imports, as well removes the dublicates.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading