SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

feat(ngMock): invoke nested calls to `module()` immediately

Before 1.3, it was possible to call `angular.mock.module()` from inside
another module. After this version additional calls were just ignored.

It is helpful to be able to do this since a test may have helper functions
that need to access "config"-time things such as constants or providers,
and without this change it is difficult to get hold of the `$provide`
object from within those helpers.

Closes #12887
S
Shahar Talmi committed
51a27c0f1ad6cd8d3e33ab0d71de22c1627c7ec3
Parent: f02811f
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 10/5/2015, 11:50:31 AM