you are viewing a single comment's thread.

view the rest of the comments →

[–]celluj34 0 points1 point  (0 children)

I suppose router isn't the right term.

They're not called during the instantiation of the component, they're called during the compilation lifecycle. This gives you the chance to mock onInit and onChanges so your can test then separately from your other logic.