Skip to content

Commit

Permalink
test(QueryResetErrorBoundary): adjust tests to pass for notifyOnChang…
Browse files Browse the repository at this point in the history
…eProps udpate
  • Loading branch information
babycourageous committed Nov 19, 2021
1 parent 497d4ac commit a34b472
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/reactjs/tests/QueryResetErrorBoundary.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ describe('QueryErrorResetBoundary', () => {
{
retry: false,
useErrorBoundary: true,
notifyOnChangeProps: 'all',
}
)
return <div>{data}</div>
Expand Down Expand Up @@ -160,6 +161,7 @@ describe('QueryErrorResetBoundary', () => {
retry: false,
enabled,
useErrorBoundary: true,
notifyOnChangeProps: 'all',
}
)

Expand Down Expand Up @@ -283,6 +285,7 @@ describe('QueryErrorResetBoundary', () => {
{
retry: false,
useErrorBoundary: true,
notifyOnChangeProps: 'all',
}
)
return <div>{data}</div>
Expand Down Expand Up @@ -342,6 +345,7 @@ describe('QueryErrorResetBoundary', () => {
retry: false,
useErrorBoundary: true,
initialData: 'initial',
notifyOnChangeProps: 'all',
}
)
return <div>{data}</div>
Expand Down Expand Up @@ -402,6 +406,7 @@ describe('QueryErrorResetBoundary', () => {
{
retry: false,
useErrorBoundary: true,
notifyOnChangeProps: 'all',
}
)
return <div>{data}</div>
Expand Down Expand Up @@ -465,6 +470,7 @@ describe('QueryErrorResetBoundary', () => {
{
retry: false,
useErrorBoundary: true,
notifyOnChangeProps: 'all',
}
)
return <div>{data}</div>
Expand Down

0 comments on commit a34b472

Please sign in to comment.