Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Jul 18, 2016
1 parent ed2ad05 commit 3c048a1
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ describe('modelConverter', () => {
it('should not provide resolver if opts.resolvers.[resolverName] === false', () => {
const tc2 = composeWithMongoose(UserModel, {
resolvers: {
count: false,
removeById: false,
findMany: {},
updateOne: {
Expand All @@ -147,7 +146,6 @@ describe('modelConverter', () => {
},
});
const resolverKeys = tc2.getResolvers().getKeys();
expect(resolverKeys).to.not.include('count');
expect(resolverKeys).to.not.include('removeById');
expect(resolverKeys).include.members(['findMany', 'updateOne', 'updateMany']);
});
Expand Down

0 comments on commit 3c048a1

Please sign in to comment.