Skip to content

test_runner: add support for nextTick on mock timers

Add support for process.nextTick and require('node:process').nextTick to MockTimers

cc @nodejs/test_runner

As a reference, I got into Sinon's docs and found out this:

By default it will automatically fake all methods except process.nextTick. You could, however, still fake nextTick by providing it explicitly

Do you people happen to know why?

Merge request reports

Loading