I have faced with the similar problem. The solution was flush function usage.
import { fakeAsync, flush } from '@angular/core/testing';
it('test something', fakeAsync(() => {
// ...
flush();
}));
I have faced with the similar problem. The solution was flush function usage.
import { fakeAsync, flush } from '@angular/core/testing';
it('test something', fakeAsync(() => {
// ...
flush();
}));