Skip to content

Commit

Permalink
correctly test for error equality on jest (#11937)
Browse files Browse the repository at this point in the history
* 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`
  • Loading branch information
phryneas authored Jul 11, 2024
1 parent a3bbabe commit 78332be
Show file tree
Hide file tree
Showing 20 changed files with 378 additions and 422 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-tips-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@apollo/client": patch
---

`createSchemaFetch`: simulate serialized errors instead of an `ApolloError` instance
Loading

0 comments on commit 78332be

Please sign in to comment.