Skip to content

Commit c9b53f0

Browse files
committed
minor correction to inline fragment on interface tests
1 parent ff253f5 commit c9b53f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/analysis/typeComplexityAnalysis.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ describe('Test getQueryTypeComplexity function', () => {
172172
resolveTo: 'character',
173173
weight: mockCharacterFriendsFunction,
174174
},
175+
humanFriends: {
176+
resolveTo: 'human',
177+
weight: mockHumanFriendsFunction,
178+
},
175179
scalarList: {
176180
weight: 0,
177181
},
@@ -702,7 +706,7 @@ describe('Test getQueryTypeComplexity function', () => {
702706
hero(episode: EMPIRE) {
703707
... {
704708
name
705-
ScalarList(first: 1)
709+
scalarList(first: 1)
706710
friends(first: 3) {
707711
name
708712
}

0 commit comments

Comments
 (0)