Commit Graph

11 Commits

Author SHA1 Message Date
homesar
0a23a2055d Updating angular-mocks to 1.5 (#8579)
* Updating angular-mocks to 1.5

* Fixing test

* cleanup
2016-06-08 19:47:21 +09:00
Alex Staroselsky
5b7257019a Exposed angular.mock.module.sharedInjector method for jasmine and mocha testing to take advantage of jasmine's beforeAll() and mocha's before() methods. (#9106) 2016-04-26 00:50:16 +09:00
Anthony Ciccarello
0ea6c46516 Add ControllerService to angular-mocks (#8889)
* Add ControllerService to angular-mocks

The definition in angular.d.ts changed that used to included this definition.
Needed because of 69d2fb9

* Added unit tests for controller service mock
2016-04-12 22:42:42 +09:00
Jasmin Auger
ce7496396f Add tests for angular-mocks' typings. 2016-03-21 21:25:58 -04:00
tcurtis1
ea24441ae4 Problem with JsonResponseData interface, removed it. 2015-08-04 19:30:56 -06:00
tcurtis1
796e02caac Changes to httpBackend to conform to angular documentation here: https://code.angularjs.org/1.3.16/docs/api/ngMock/service/$httpBackend
Mainly add the option to pass a function in the url parameter. Also updated IRequestHandler interface respond function to return an IRequestHandler, and updated overloads.
Also added documentation.
2015-08-04 15:44:06 -06:00
Spencer Williams
55731eb211 Test for IIntervalService#flush 2014-06-24 12:56:40 -04:00
Jeremy Bell
479dd1442e fixed errors from --noImplicitAny option 2014-05-23 17:55:24 -04:00
Jeremy Bell
9e30ccf2e5 Added overload to angular.mock.inject function to allow array-style dependency injection, which the function supports. Added test excercising the overload. 2014-05-23 17:47:07 -04:00
Jared Reynolds
bf2ed03d80 Added remainder of angular mocks 1.2 definitions 2013-10-23 14:55:46 -07:00
unknown
465dfbaa6e Angular mocks changes for 1.2.0 2013-10-23 14:55:46 -07:00