Skip to content

@purista/core v2.0.5


PURISTA API / @purista/core / getEventBridgeMock

Function: getEventBridgeMock()

getEventBridgeMock(sandbox?): object

Defined in: packages/core/src/mocks/getEventBridge.mock.ts:11

Mocks the eventBridge and stubs the methods

Parameters

sandbox?

SinonSandbox

Returns

object

EventBridge mocked

mock

mock: EventBridge

stubs

stubs: Record<string, SinonStub<any[], any>>