Angular 6 - how to mock router.events url response in unit test Angular 6 - how to mock router.events url response in unit test angular angular