You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
It seems that once someone is finished with Lab 7, there are a bunch of tests in test/unit/app/employees/controllers.spec.js that fail after all the lab instructions are finished. Recommend adding instructions for the lab to adding instructions for injecting the notifications service into the beforeEach where the api is being injected, as well as the two notifications stubs, and an example of how to tell if the notification stubs have been called or not:
Injector:
var notifications = $injector.get('notifications');
It seems that once someone is finished with Lab 7, there are a bunch of tests in
test/unit/app/employees/controllers.spec.js
that fail after all the lab instructions are finished. Recommend adding instructions for the lab to adding instructions for injecting the notifications service into thebeforeEach
where the api is being injected, as well as the two notifications stubs, and an example of how to tell if the notification stubs have been called or not:Injector:
Stubs:
Stubbing examples:
The text was updated successfully, but these errors were encountered: