PURISTA API / @purista/core / CreateCommandContextMockInput
Type Alias: CreateCommandContextMockInput<TBuilder>
CreateCommandContextMockInput<
TBuilder> =object
Defined in: testing/createCommandContextMock.ts:34
Type Parameters
TBuilder
TBuilder extends CommandDefinitionBuilder<any, any>
Properties
message?
optionalmessage?:object
Defined in: testing/createCommandContextMock.ts:45
parameter
parameter:
GetMessageParamsType<CommandContextMockBuilderTypes<TBuilder>["ParamsSchema"],CommandContextMockBuilderTypes<TBuilder>["TransformInputParamsSchema"]>
payload
payload:
GetMessagePayloadType<CommandContextMockBuilderTypes<TBuilder>["PayloadSchema"],CommandContextMockBuilderTypes<TBuilder>["TransformInputPayloadSchema"]>
parameter
parameter:
GetMessageParamsType<CommandContextMockBuilderTypes<TBuilder>["ParamsSchema"],CommandContextMockBuilderTypes<TBuilder>["TransformInputParamsSchema"]>
Defined in: testing/createCommandContextMock.ts:39
payload
payload:
GetMessagePayloadType<CommandContextMockBuilderTypes<TBuilder>["PayloadSchema"],CommandContextMockBuilderTypes<TBuilder>["TransformInputPayloadSchema"]>
Defined in: testing/createCommandContextMock.ts:35
resources?
optionalresources?:Partial<CommandContextMockBuilderTypes<TBuilder>["Resources"]>
Defined in: testing/createCommandContextMock.ts:44
sandbox?
optionalsandbox?:SinonSandbox
Defined in: testing/createCommandContextMock.ts:43
