Skip to content

waygraph / MemStubContext

Interface: MemStubContext ​

Defined in: src/engine/mem/mem-stub.ts:24

What a mem stub is given.

Properties ​

unique ​

unique: string

Defined in: src/engine/mem/mem-stub.ts:30

A token for test data that must not collide: different every run, the same for every stub within one run (so an email and a username made from it match), and different across parallel workers.

Example ​

ts
registerMemStub(Signup.email, ({ unique }) => `qa+${unique}@example.com`)

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