Event Guard Test

Let's add unit tests for our route guard.

We'll cover the following

With our event guard ready, let’s add component tests.

Below is our updated code. Use this to make further changes.

Get hands-on with 1200+ tech skills courses.