aleclarson / rethinkdb-mock

In-memory RethinkDB
7 stars 3 forks source link

Randomize the order of `reduce` #21

Open aleclarson opened 7 years ago

aleclarson commented 7 years ago

reduce does not guarantee order of iteration, so the mock should randomize to simulate that expectation.

aleclarson commented 7 years ago

Looks like the results of getAll() should be randomized too.