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
I've brought a simple modification that introduces a callback function that is called prior to the AngularJS boostrap. Hence I can load any dependencies this way. Might not be the optimal solution but it works, if someone needs the same:
I'm trying to figure out the best way to fill a dependency from a service midway test.
// Service
// Unit test
describe('UnitTest: dashboardService', function () {
});
// Midway test
describe('TestDriver: dashboardService', function () {
});
Everytime I run grunt test it fails. The error is
Error: Unknown provider: $userTokenProvider <- $userToken <- $dashboard
Any ideas?
The text was updated successfully, but these errors were encountered: