Skip to content

Commit 78332be

Browse files
authored
correctly test for error equality on jest (#11937)
* correctly test for error equality on jest * adjust tests, change schemafetch error * linting * enforce matching `ApolloError` instances in tests everywhere * size * also always enforce stricter checks for `GraphQLError`
1 parent a3bbabe commit 78332be

20 files changed

+378
-422
lines changed

.changeset/early-tips-vanish.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/client": patch
3+
---
4+
5+
`createSchemaFetch`: simulate serialized errors instead of an `ApolloError` instance

0 commit comments

Comments
 (0)