chore(framework): Move and improve subscriber loader (#8347)

**What**
Move `SubscriberLoader` and improve implementation

FIXES FRMW-2635
This commit is contained in:
Adrien de Peretti
2024-07-30 14:54:31 +02:00
committed by GitHub
parent 169953ad1e
commit a9fea986b0
17 changed files with 158 additions and 202 deletions

View File

@@ -32,7 +32,7 @@ medusaIntegrationTestRunner({
expect(testEventPayloadHandlerMock).toHaveBeenCalled()
expect(
testEventPayloadHandlerMock.mock.calls[0][0].pluginOptions
).toEqual({})
).toEqual(expect.any(Object))
expect(testEventPayloadHandlerMock.mock.calls[0][0].event).toEqual({
name: eventName,
data: {