Skip to content

Commit

Permalink
ignore There are no pending operations in the list errors
Browse files Browse the repository at this point in the history
  • Loading branch information
richardguerre committed Nov 2, 2021
1 parent 5463c87 commit 5d13989
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,10 @@ export function createRelayMockEnvironmentHook(
// @ts-ignore
!new Error(err).message.includes(
'MockEnvironment: Cannot respond to request, it has not been requested yet.'
) ||
// @ts-ignore
!new Error(err).message.includes(
'There are no pending operations in the list'
)
) {
throw err;
Expand Down

0 comments on commit 5d13989

Please sign in to comment.