pixi-reels

API reference

expectGrid

pixi-reels


pixi-reels / testing / expectGrid

function expectGrid(reelSet: ReelSet, expected: string[][]): void;

Defined in: testing/testHarness.ts:239

Assert that the current visible grid equals expected.

Throws a readable error showing the full current grid on mismatch.

Parameters#

ParameterType
reelSetReelSet
expectedstring[][]

Returns#

void