thenativeweb / node-cqrs-domain

Node-cqrs-domain is a node.js module based on nodeEventStore that. It can be very useful as domain component if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
http://cqrs.js.org/pages/domain.html
MIT License
269 stars 57 forks source link

Integration Test fails at: integrationTest.js line 77 #34

Closed nizachon closed 9 years ago

nizachon commented 9 years ago

Is domain structure, as returned by domain.getInfo(), sorted? What I get comes in order different from what the test expects:

image

adrai commented 9 years ago

No it's not... I never tested on Windows... I see no problem if you want to sort it...

nizachon commented 9 years ago

I don't think the result needs to be sorted just to satisfy the test. It's the test that should stop assuming that the result will have its data in some predictable order.

adrai commented 9 years ago

Yes, so sort it in the test ;-)