| 86 | const app = TestBed.inject(ApplicationRef) |
| 87 | |
| 88 | @Component({ |
| 89 | selector: 'app-test', |
| 90 | template: '', |
| 91 | changeDetection: ChangeDetectionStrategy.OnPush, |
| 92 | }) |
| 93 | class TestComponent { |
| 94 | query = injectQuery(() => ({ |
| 95 | queryKey: ['sync'], |
| 96 | queryFn: () => 'instant-data', |
| 97 | })) |
| 98 | } |
| 99 | |
| 100 | const fixture = TestBed.createComponent(TestComponent) |
| 101 | fixture.autoDetectChanges() |
nothing calls this directly
no test coverage detected