From 0dd82be9f9b3ed445d22f3afe2f7233210d472e0 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Thu, 8 Mar 2018 20:27:14 -0500 Subject: [PATCH] Add Query type to enum value removal test to make graphql@0.11 happy. --- src/test/testDirectives.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/testDirectives.ts b/src/test/testDirectives.ts index 5fb7778110e..4a8d402e1a0 100644 --- a/src/test/testDirectives.ts +++ b/src/test/testDirectives.ts @@ -1077,6 +1077,10 @@ describe('@directives', () => { it('can remove enum values', () => { const schema = makeExecutableSchema({ typeDefs: ` + type Query { + age(unit: AgeUnit): Int + } + enum AgeUnit { DOG_YEARS TURTLE_YEARS @remove(if: true)