Skip to content

Commit a34b472

Browse files
test(QueryResetErrorBoundary): adjust tests to pass for notifyOnChangeProps udpate
1 parent 497d4ac commit a34b472

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/reactjs/tests/QueryResetErrorBoundary.test.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe('QueryErrorResetBoundary', () => {
3434
{
3535
retry: false,
3636
useErrorBoundary: true,
37+
notifyOnChangeProps: 'all',
3738
}
3839
)
3940
return <div>{data}</div>
@@ -160,6 +161,7 @@ describe('QueryErrorResetBoundary', () => {
160161
retry: false,
161162
enabled,
162163
useErrorBoundary: true,
164+
notifyOnChangeProps: 'all',
163165
}
164166
)
165167

@@ -283,6 +285,7 @@ describe('QueryErrorResetBoundary', () => {
283285
{
284286
retry: false,
285287
useErrorBoundary: true,
288+
notifyOnChangeProps: 'all',
286289
}
287290
)
288291
return <div>{data}</div>
@@ -342,6 +345,7 @@ describe('QueryErrorResetBoundary', () => {
342345
retry: false,
343346
useErrorBoundary: true,
344347
initialData: 'initial',
348+
notifyOnChangeProps: 'all',
345349
}
346350
)
347351
return <div>{data}</div>
@@ -402,6 +406,7 @@ describe('QueryErrorResetBoundary', () => {
402406
{
403407
retry: false,
404408
useErrorBoundary: true,
409+
notifyOnChangeProps: 'all',
405410
}
406411
)
407412
return <div>{data}</div>
@@ -465,6 +470,7 @@ describe('QueryErrorResetBoundary', () => {
465470
{
466471
retry: false,
467472
useErrorBoundary: true,
473+
notifyOnChangeProps: 'all',
468474
}
469475
)
470476
return <div>{data}</div>

0 commit comments

Comments
 (0)