Commit 77e3cd8
test(solid-query): assert queryFn never invoked when data preloaded
Address CodeRabbit nitpick on PR #10592: spy on Page's queryFn and
assert it was never called, strengthening the guarantee that the
background refetch did not run when data was preloaded via
ensureQueryData.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4d23e82 commit 77e3cd8
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
| 924 | + | |
924 | 925 | | |
925 | 926 | | |
926 | 927 | | |
927 | 928 | | |
928 | | - | |
| 929 | + | |
929 | 930 | | |
930 | 931 | | |
931 | 932 | | |
| |||
947 | 948 | | |
948 | 949 | | |
949 | 950 | | |
| 951 | + | |
950 | 952 | | |
951 | 953 | | |
952 | 954 | | |
| |||
0 commit comments