puddlejumper26 / blogs

Personal Tech Blogs
4 stars 1 forks source link

ActivatedRoute mock in Angular Testing #99

Open puddlejumper26 opened 4 years ago

puddlejumper26 commented 4 years ago

Router is to send data to the URL, transmit upwards.

ActiveRoute is the current status of the URL. And inside the component, we use different functions(methods) to grasp these data.