Parse complete TypeSystemDefinition
This commit is contained in:
@ -109,3 +109,10 @@ spec = describe "Parser" $ do
|
||||
y: Float
|
||||
}
|
||||
|]
|
||||
|
||||
it "parses minimal input enum definition with an optional pipe" $
|
||||
parse document "" `shouldSucceedOn` [r|
|
||||
directive @example on
|
||||
| FIELD
|
||||
| FRAGMENT_SPREAD
|
||||
|]
|
||||
|
Reference in New Issue
Block a user