We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73b5b95 commit a3dc2ebCopy full SHA for a3dc2eb
src/methods/have-many.js
@@ -2,9 +2,7 @@ import { expect } from 'chai';
2
3
export function haveMany(relationship, model, foreignKey) {
4
const props = this._obj.definition.properties;
5
-
6
const relObj = props.relations[relationship];
7
- // console.log(relObj);
8
expect(relObj).to.haveOwnProperty('type');
9
expect(relObj.type).to.equal('hasMany');
10
0 commit comments