Files
scriptc/packages
Chris Tate fab8af0d5c Schedule a node:timers import with an untyped delay as a real timer
An untyped delay converts before the timer call and waits in a hidden
local, so the lowered call sits inside a seqExpr. The realTimer mark was
applied to the value lowerTimerCall returned, which that wrapper hid, so
an imported setTimeout or setInterval with an untyped delay emitted the
mock-aware entry point and its callback ran on the mocked queue.

timers-delay-warnings-mocked.ts schedules an imported setTimeout with an
untyped delay while mock.timers is enabled and calls the callback once the
script ends, after the tick; timer-delay-lowering.test.ts pins the
realTimer mark on the call inside the seqExpr.
2026-10-30 11:37:49 -05:00
..
2026-10-29 20:04:10 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 15:55:05 -05:00
2026-10-29 06:02:00 -05:00
2026-10-29 06:02:00 -05:00