We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4725f commit ac16d64Copy full SHA for ac16d64
tests/data/repositories/postRepository.test.js
@@ -1,12 +1,11 @@
1
const expect = require('chai').expect;
2
const sinon = require('sinon');
3
-const mongoose = require('mongoose');
4
const schemasFactory = require('../../../src/data/infrastructure/db/schemas');
5
const {
6
posts: postDocs,
7
} = require('../../mockedData');
8
9
-const schemas = schemasFactory.create(mongoose);
+const schemas = schemasFactory.create();
10
const db = {
11
schemas,
12
};
0 commit comments