The built-in node:test runner's mock timers need to be enabled for the specific APIs you're using (`t.mock.timers.enable({ apis: ['setTimeout'] })`), and you must explicitly call `t.mock.timers.tick(ms)` to advance them — otherwise real timers keep running and your assertions just time out.