feat: Add removeFromArray function

This commit is contained in:
Blade Barringer
2016-01-21 08:05:51 -06:00
parent 95603b9d21
commit e5f1c44a3e
9 changed files with 149 additions and 42 deletions

View File

@@ -1,11 +1,11 @@
import baseModel from '../../../../../website/src/libs/api-v3/baseModel';
import { Schema } from 'mongoose';
import mongoose from 'mongoose';
describe('Base model plugin', () => {
let schema;
beforeEach(() => {
schema = new Schema();
schema = new mongoose.Schema();
sandbox.stub(schema, 'add');
});