Skip to content

Commit ab3e46f

Browse files
committed
test(composeWithMongoose): Fix broken test for Node.js 0.10
1 parent ad34157 commit ab3e46f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/composeWithMongoose-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ describe('composeWithMongoose ->', () => {
129129
describe('createResolvers()', () => {
130130
it('should not be called if opts.resolvers === false', () => {
131131
const tc = composeWithMongoose(UserModel, { resolvers: false });
132-
expect(tc.getResolvers().keys()).is.empty;
132+
expect(Array.from(tc.getResolvers().keys())).is.empty;
133133
});
134134

135135
it('should be called if opts.resolvers not exists or has value', () => {

0 commit comments

Comments
 (0)