I am working on a project of Angular 5 with Ionic 3. I am using Jasmine for unit testing. I have integrated Angular-Cli for project. My setup was working till yesterday but today it is not working. On executing test
command, it is showing following error:
TypeError: Cannot read property 'run' of null at at UserContext. node_modules/zone.js/dist/jasmine-patch.js:106:1) at at ZoneDelegate.webpackJsonp../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask node_modules/zone.js/dist /zone.js:421:1) at Zone.webpackJsonp../node_modules/zone.js/dist/zone.js.Zone.runTask node_modules/zone.js/dist/zone.js:188:1) at drainMicroTaskQueue node_modules/zone.js/dist/zone.js:595:1) at
Any idea why it is happening ?
UserContext
? – Fateme Fazli