-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more tests of possibleTypes and fragmentMatches.
- Loading branch information
Showing
2 changed files
with
367 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/cache/inmemory/__tests__/__snapshots__/fragmentMatcher.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`policies.fragmentMatches can infer fuzzy subtypes heuristically 1`] = ` | ||
Object { | ||
"ROOT_QUERY": Object { | ||
"__typename": "Query", | ||
"objects": Array [ | ||
Object { | ||
"__typename": "E", | ||
"c": "ce", | ||
}, | ||
Object { | ||
"__typename": "F", | ||
"c": "cf", | ||
}, | ||
Object { | ||
"__typename": "G", | ||
"c": "cg", | ||
}, | ||
Object { | ||
"__typename": "TooLong", | ||
}, | ||
Object { | ||
"__typename": "H", | ||
}, | ||
], | ||
}, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters