expectGrid()
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
| Parameter | Type |
|---|---|
reelSet | ReelSet |
expected | string[][] |
Returns
void