angular 19.2.latest is aggressively tearing down the test env which
forces the active rxjs timer to emit one execution as it collapses which
produces a ghost http in the case of request wrapped in the timer
service. so for now flushing all the requests manually to prevent it
Fixes: https://tracker.ceph.com/issues/77729
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
fcbbca8949a97aa73bf59f318acd449f103b415c)
});
afterEach(() => {
+ httpTesting.match(() => true).forEach((req) => req.flush({}));
httpTesting.verify();
});