| 48 | |
| 49 | it('#9910: a template signal read does not prevent whenStable from seeing success', async () => { |
| 50 | @Component({ template: '{{ query.isSuccess() }}' }) |
| 51 | class App { |
| 52 | query = injectQuery(() => ({ |
| 53 | queryKey: ['9910'], |
| 54 | queryFn: () => Promise.resolve([1, 2, 3, 4, 5]), |
| 55 | })) |
| 56 | } |
| 57 | const fixture = TestBed.createComponent(App) |
| 58 | fixture.autoDetectChanges() |
| 59 | await fixture.whenStable() |
nothing calls this directly
no test coverage detected