Skip to content

Commit 31d942e

Browse files
buildASTSchema-test: expend SDL descriptions test (#2780)
1 parent 4f26a6b commit 31d942e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/utilities/__tests__/buildASTSchema-test.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,24 @@ describe('Schema Builder', () => {
189189
arg: Int
190190
) on FIELD
191191
192+
"""Who knows what inside this scalar?"""
193+
scalar MysteryScalar
194+
195+
"""This is a input object type"""
196+
input FooInput {
197+
"""It has a field"""
198+
field: Int
199+
}
200+
201+
"""This is a interface type"""
202+
interface Energy {
203+
"""It also has a field"""
204+
str: String
205+
}
206+
207+
"""There is nothing inside!"""
208+
union BlackHole
209+
192210
"""With an enum"""
193211
enum Color {
194212
RED

0 commit comments

Comments
 (0)