Skip to main content
Captures a signed work-event Request through the real sender without network I/O.

Parameters

event

WorkEvent

options

Omit<SendWorkEventOptions, "fetch">

Returns

Promise<Request>

Remarks

Uses the same validation, serialization, signing and callback URL as sendWorkEvent. Supply the callback and secret your test install was configured with; the accepting transport is supplied by this helper.