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 18a0463 commit 4e35da1Copy full SHA for 4e35da1
src/resolvers/helpers/__tests__/projection-test.js
@@ -24,7 +24,7 @@ describe('Resolver helper `projection` ->', () => {
24
it('should call query.select if projection is provided', () => {
25
resolveParams.projection = { name: 1, age: 1 };
26
projectionHelper(resolveParams);
27
- expect(spyFn).to.have.been.called.with(resolveParams.projection);
+ expect(spyFn).to.have.been.called.with({ name: true, age: true });
28
});
29
30
0 commit comments