advanceFrames
advanceFrames(
engine,n,dtMs?):void
Defined in: test-utils.ts:78
Advance the game loop by N frames (manual tick).
dtMs is the per-frame wall-clock delta in milliseconds, matching what a
PixiJS ticker reports. The loop converts it to seconds internally, so a
component’s update(dt) sees dtMs / 1000 seconds. The default 1000 / 60
is one 60fps frame (≈16.67ms → ≈0.0167s).
Parameters
Section titled “Parameters”engine
Section titled “engine”number
number = ...
Returns
Section titled “Returns”void