node-carotte-amqp icon indicating copy to clipboard operation
node-carotte-amqp copied to clipboard

test: add a unit test case with multiple listeners

Open aymeric-agre opened this issue 3 years ago • 0 comments

  1) subscriber when the subscriber fails when a retry policy is specified bliblou should:
     expected spy to be called 4 times but was called 6 times
    spy(thing.*, 0) at Promise.all.carotte.subscribe (/Users/aymeric.agre/Projects/node-carotte-amqp/tests/subscriber.spec.js:226:29)
    spy(thing.updated, 0) at Promise.all.carotte.subscribe (/Users/aymeric.agre/Projects/node-carotte-amqp/tests/subscriber.spec.js:212:29)
    spy(thing.*, 1) at Promise.all.carotte.subscribe (/Users/aymeric.agre/Projects/node-carotte-amqp/tests/subscriber.spec.js:226:29)
    spy(thing.updated, 1) at Promise.all.carotte.subscribe (/Users/aymeric.agre/Projects/node-carotte-amqp/tests/subscriber.spec.js:212:29)
    spy(thing.*, 2) at Promise.all.carotte.subscribe (/Users/aymeric.agre/Projects/node-carotte-amqp/tests/subscriber.spec.js:226:29)
    spy(thing.updated, 2) at Promise.all.carotte.subscribe (/Users/aymeric.agre/Projects/node-carotte-amqp/tests/subscriber.spec.js:212:29)

aymeric-agre avatar May 19 '22 14:05 aymeric-agre