These are chat archives for reactioncommerce/reaction

28th
Jul 2018
liveljack
@liveljack
Jul 28 2018 05:58
@pnewell4_twitter thanks a lot~ seems to be the only way~~:D
liveljack
@liveljack
Jul 28 2018 06:06
besides, just want to make sure, since the mongodb will be started while running mocha test, is it the same database with the production env? if a collection (Account for example) is emptied, does it mean the production Account be emptied, or just the test env?
Flavio H Freitas
@flaviohenriquecbc
Jul 28 2018 08:04
Patrick Newell
@pnewell4_twitter
Jul 28 2018 20:23
@liveljack tests run with their own DB instance. I regularly remove all entries from a collection (although it is something a good test to keep irrelevant data in there, just to be sure your queries ignore them!)