Conclusion on Navigation Bar

Let's conclude what we’ve learned so far and upload our updated application to GitHub.

We'll cover the following

What have we done so far?

In this chapter:

  1. We’ve now added a navbar to our application that subscribes to an emitted event by using an Event Emitter to keep our navbar links in sync. This depends on whether a user is logged in or not.
  2. We wrote unit tests for NavbarComponent. We also wrote E2E tests that leverage one of Cypress’s command features to avoid code duplication.

Get hands-on with 1200+ tech skills courses.