Skip to content

Commit

Permalink
Add Query type to enum value removal test to make [email protected] happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Mar 14, 2018
1 parent 01f10a7 commit 0dd82be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/testDirectives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0dd82be

Please sign in to comment.