I m new to angular 4 and trying to test one of the angular 4 feature router.paramMap from unit tests, Reading route params in fallowing way and working as expected in my applica
we're currently using this:
{ provide: ActivatedRoute, useValue: { 'params': Observable.from([{ 'id': '1'}]) } },