1.0.4 • Published 4 years ago
nei-mockgoose v1.0.4
mockgoose
mockgoose Add concrete MockgooseDAO implementations based on your mongoose Schemas, filling their MockgooseCollections with test data. Then switch to mockgoose for testing your repositories. Your app should not note the difference =). See test example for further information.
Import and usage:
import Mockgoose from 'nei-mockgoose'
const collection = new Mockgoose.collection() class myDao extends Mockgoose.dao {}