Dashboard Tests
Let's update dashboard tests to pass the failing tests.
We'll cover the following...
We'll cover the following...
Below is our updated code. Use this to make further changes:
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>LetsGetLunch</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <app-root></app-root> </body> </html>
Updated dashboard
Fixing broken tests
Before adding the calendar UI, let’s update our broken test.
- Update our list of imports.
The only new import here is RouterTestingModule, which we need to import due to the “New Event” button in our template that redirects us to /event. We’ll see how this is used shortly.
With our imports ready, set up our mocks for AuthService and EventsService.
...