Skip to main content

Type alias: ActionMockedRun<Context>

ActionMockedRun<Context>: object

Mocked action run configuration for mocked action factory.

Type parameters

Context extends object = any

Type declaration

run()

run: (context) => Promise<void>

Parameters

context: Context

Returns

Promise<void>

shouldForget()

shouldForget: () => Promise<boolean>

Returns

Promise<boolean>

shouldRun()

shouldRun: (context) => Promise<boolean>

Parameters

context: Context

Returns

Promise<boolean>

Source

packages/test/src/types.ts:36