Skip to content

Commit

Permalink
fix: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
vbshnsk committed Sep 19, 2022
1 parent 411043d commit 5ff8cac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pubsub-transport.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ describe('PubSubTransport', () => {
await pubSubService.handleMessage(message);

expect(handler).toBeCalled();
expect(handler).toBeCalledWith(
{
a: 1,
},
{ deliveryAttempt: 1, id: 'messageId', pattern: 'operationId' }
);
expect(ackSpy).toBeCalled();
expect(logInfoSpy).toBeCalled();
});
Expand Down

0 comments on commit 5ff8cac

Please sign in to comment.