PR pixi-reels

expectGrid()

pixi-reels


pixi-reels / testing / expectGrid

Function: expectGrid()

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

Defined in: testing/testHarness.ts:191

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