Client Test and Server Test run at the same time!


I just saw that client and server test run at the same time. This is cool but … when you use resetDatabase on client side with a meteor methods, some server test falling ( ref: ).
Nobody have facing this before ? Some feedback interesting me a lot…


Oh right, for anybody facing this is issue, this a undocumented environment variable :
export MOCHA_RUN_ORDER=serial on your terminal and,
"meteor test --driver-package practicalmeteor:mocha "
THIS, will run the server test code before. Hope it help someone.
I’m loosing a day for this. It will be great on Meteor Test docs to had this little tricky things.
ref :


You should send a PR or create a new issue to add to docs.
So, other folks wouldn’t lose time on that issue as you did.