I have a component that takes NgZone as a provider. How can I make a provider for NgZone when creating the TestBed.
I tried this but the test is timing out
const mockNgZone = jasmine.createSpyObj('mockNgZone', ['run', 'runOutsideAngular'])
mockNgZone.run.and.callFake(fn => fn())
When I use this mockNgZone, the test is timing out with the error:
Disconnected (1 times), because no message in 10000 ms.
Electron 1.7.9 (Node 7.9.0) ERROR
Disconnected, because no message in 10000 ms.