Commit d7d766e
authored
chore: fix test warnings (TanStack#2070)
* chore: fix eslint warnings by including refetch in the dependency array
the refetch function is stable
* chore: mockConsoleError for tests that expect errors to be thrown
to avoid error output on the console during tests1 parent 6ee897c commit d7d766e
File tree
2 files changed
+6
-2
lines changed- src
- core/tests
- react/tests
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| 288 | + | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3611 | 3611 | | |
3612 | 3612 | | |
3613 | 3613 | | |
| 3614 | + | |
| 3615 | + | |
3614 | 3616 | | |
3615 | 3617 | | |
3616 | | - | |
| 3618 | + | |
3617 | 3619 | | |
3618 | 3620 | | |
3619 | 3621 | | |
3620 | 3622 | | |
3621 | | - | |
| 3623 | + | |
3622 | 3624 | | |
3623 | 3625 | | |
3624 | 3626 | | |
| |||
0 commit comments