Merge pull request #2123 from lbke/test-resolvers

rollback callbacks test
This commit is contained in:
Eric Burel 2018-11-05 14:05:01 +01:00 committed by GitHub
commit e590e0998d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,9 @@ describe('vulcan:core/default_resolvers', function() {
const adminUser = { _id: 'foobar', groups: [], isAdmin: true };
const getSingleResolver = () => getDefaultResolvers(resolversOptions).single.resolver;
it('return null if documentId is undefined', function() {
// TODO: the current behaviour is not consistent, could be improved
// @see https://github.com/VulcanJS/Vulcan/issues/2118
it.skip('return null if documentId is undefined', function() {
const resolver = getSingleResolver();
// no documentId
const input = { selector: {} };