TestReelSetOptions
pixi-reels / testing / TestReelSetOptions
Interface: TestReelSetOptions
Defined in: testing/testHarness.ts:10
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
bufferSymbols? | | number | { end: number; start: number; } | Number of symbols above + below the visible area. Defaults to the builder default. | testing/testHarness.ts:52 |
curve? | ReelCurveInput | Cylinder curvature for every reel. Omit for a flat set. | testing/testHarness.ts:38 |
curveFocus? | CurveFocus | Where the curve’s camera sits across the strip. Defaults to 'reel'. | testing/testHarness.ts:42 |
curvePerReel? | ReelCurveInput[] | Per-reel curvature override (length must equal reels). | testing/testHarness.ts:40 |
direction? | Direction | Travel direction for every reel. Defaults to ‘forward’. | testing/testHarness.ts:34 |
directionPerReel? | Direction[] | Per-reel travel direction override (length must equal reels). | testing/testHarness.ts:36 |
gsap? | typeof gsap | gsap instance for this set. Pass a synchronous shim to drive tweens inline instead of waiting on a real clock. Per set, so two harnesses in one file cannot clobber each other. | testing/testHarness.ts:67 |
initialFrame? | ColumnTarget[] | Initial symbol grid. Same ColumnTarget[] form as ReelSetBuilder.initialFrame. | testing/testHarness.ts:61 |
multiways? | { maxCells: number; minCells: number; reelExtent: number; } | MultiWays configuration. Mutually exclusive with visibleCells: number[]. The harness sets uniform reelExtent and forwards min/maxCells. | testing/testHarness.ts:24 |
multiways.maxCells | number | - | testing/testHarness.ts:24 |
multiways.minCells | number | - | testing/testHarness.ts:24 |
multiways.reelExtent | number | - | testing/testHarness.ts:24 |
orientation? | Orientation | Strip orientation. Defaults to ‘vertical’. | testing/testHarness.ts:32 |
phases? | (factory: PhaseFactory) => void | Same hook as ReelSetBuilder.phases(...). Register a custom or subclassed phase over a built-in for this set. | testing/testHarness.ts:57 |
reels? | number | - | testing/testHarness.ts:11 |
skipMode? | SkipMode | What a skip press does when the call does not say. See ReelSetBuilder.skipMode. | testing/testHarness.ts:59 |
symbolData? | Record<string, Partial<SymbolData>> | Per-symbol overrides. useful for big-symbol size declarations in tests. | testing/testHarness.ts:28 |
symbolGap? | { x: number; y: number; } | - | testing/testHarness.ts:30 |
symbolGap.x | number | - | testing/testHarness.ts:30 |
symbolGap.y | number | - | testing/testHarness.ts:30 |
symbolIds? | string[] | - | testing/testHarness.ts:25 |
symbolSize? | { height: number; width: number; } | - | testing/testHarness.ts:29 |
symbolSize.height | number | - | testing/testHarness.ts:29 |
symbolSize.width | number | - | testing/testHarness.ts:29 |
tumble? | TumbleConfig | Cascade/tumble config, same shape as ReelSetBuilder.tumble(...). Pass {} for the defaults. Without this the set spins strips instead of cascading, so a cascade test that also wants a non-default orientation / direction has to hand-roll a builder - which is exactly why the cascade suite had no axis coverage. | testing/testHarness.ts:50 |
visibleCells? | number | number[] | Visible cell count. - number → uniform cells. - number[] → per-reel static shape (pyramid). Mutually exclusive with multiways (which always starts at maxCells). | testing/testHarness.ts:19 |
weights? | Record<string, number> | - | testing/testHarness.ts:26 |