Given.aggregate
property · packages/remote-domain/src/testing.ts:20
readonly aggregate: stringThe aggregate's name, as Domain.Aggregate('Product', …) gave it.
Remote / foldkit-remote-domain/testing
interface · packages/remote-domain/src/testing.ts:18
interface Given {
readonly aggregate: string
readonly id: string
readonly events: ReadonlyArray<{
readonly _tag: string
}>
}Events an aggregate instance already holds when the test starts.
Given.aggregateproperty · packages/remote-domain/src/testing.ts:20
readonly aggregate: stringThe aggregate's name, as Domain.Aggregate('Product', …) gave it.
Given.idproperty · packages/remote-domain/src/testing.ts:21
readonly id: stringGiven.eventsproperty · packages/remote-domain/src/testing.ts:22
readonly events: ReadonlyArray<{
readonly _tag: string
}>