You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happened just once. I ran the tests repeatedly without a problem.
64 passing (10s)
1 failing
1) EventuateSubscriptionManager should subscribe two subscribers and receive events:
Error: done() called multiple times
at Suite.<anonymous> (test/AggregateRepository-spec.js:138:3)
at Object.<anonymous> (test/AggregateRepository-spec.js:134:1)
at require (internal/module.js:12:17)
at Array.forEach (native)
at node.js:974:3
The text was updated successfully, but these errors were encountered:
I had a quick look at the code
Presumably, this code is expecting to receive events published earlier.
The problem with the code is that it is not looking for those specific events (event ids).
Just any MyEntityWasCreatedEvent and MyEntityWasUpdatedEvent.
So if there are some unprocessed events of those types lying around they will be consumed and cause this error.
Also, it is not actually testing a MyEntityWasCreatedEvent was received. Only that a MyEntityWasUpdatedEvent was received.
This happened just once. I ran the tests repeatedly without a problem.
The text was updated successfully, but these errors were encountered: