Conclusion on Navigation Bar
Let's conclude what we’ve learned so far and upload our updated application to GitHub.
What have we done so far?
In this chapter:
- 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.
- 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 1300+ tech skills courses.