These are chat archives for Automattic/mongoose

13th
Feb 2016
Konstantin Baierer
@kba
Feb 13 2016 02:56
@jhyland87 I usually just start mongo locally for my tests, i.e. mongo --dbpath ./mongo-test and connect to that in my tests. A bit involved to set up but reliable behavior.
J
@jhyland87
Feb 13 2016 02:57
This is going to be open source, so the unit tests need to be isolated, not rely on an actual db
Im kinda close...
that last line is where im stuck
Dawid Pura
@puradawid
Feb 13 2016 08:42
Yeah, I have troubles with tests as well. Actually I stayed with creating mongo database locally and working on it
I would be interested in creating a well defined API for testing :)
J
@jhyland87
Feb 13 2016 15:14
Does anyone here use Mockgoose?