Skip to content

Commit

Permalink
change && to ||
Browse files Browse the repository at this point in the history
  • Loading branch information
richardguerre committed Nov 2, 2021
1 parent 37ece44 commit 6dc73ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const mockData = {

#### Defined in

[index.ts:99](https://github.com/richardguerre/use-relay-mock-environment/blob/4144ea5/src/index.ts#L99)
[index.ts:99](https://github.com/richardguerre/use-relay-mock-environment/blob/37ece44/src/index.ts#L99)

___

Expand Down Expand Up @@ -72,7 +72,7 @@ You can specify one or more of the following:

#### Defined in

[index.ts:28](https://github.com/richardguerre/use-relay-mock-environment/blob/4144ea5/src/index.ts#L28)
[index.ts:28](https://github.com/richardguerre/use-relay-mock-environment/blob/37ece44/src/index.ts#L28)

___

Expand All @@ -84,7 +84,7 @@ Same as the `RelayMockOptions` below.

#### Defined in

[index.ts:241](https://github.com/richardguerre/use-relay-mock-environment/blob/4144ea5/src/index.ts#L241)
[index.ts:241](https://github.com/richardguerre/use-relay-mock-environment/blob/37ece44/src/index.ts#L241)

___

Expand All @@ -110,7 +110,7 @@ ___

#### Defined in

[index.ts:105](https://github.com/richardguerre/use-relay-mock-environment/blob/4144ea5/src/index.ts#L105)
[index.ts:105](https://github.com/richardguerre/use-relay-mock-environment/blob/37ece44/src/index.ts#L105)

## Functions

Expand Down Expand Up @@ -148,4 +148,4 @@ a function that is the `useRelayMockEnvironment()` React hook. Read more about i

#### Defined in

[index.ts:263](https://github.com/richardguerre/use-relay-mock-environment/blob/4144ea5/src/index.ts#L263)
[index.ts:263](https://github.com/richardguerre/use-relay-mock-environment/blob/37ece44/src/index.ts#L263)
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ 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'
Expand Down

0 comments on commit 6dc73ca

Please sign in to comment.