Skip to content

waygraph / checkpoint

Function: checkpoint() ​

checkpoint<Tag>(tag): Checkpoint<Tag>

Defined in: src/engine/checkpoint/checkpoint.ts:13

Builds a Checkpoint - spells __state for you so no call site does it by hand.

Type Parameters ​

Tag ​

Tag extends string

Parameters ​

tag ​

Tag

Returns ​

Checkpoint<Tag>

Example ​

ts
resolve: () => checkpoint("InventoryPage")

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed