angular-mock (or ngMock) is a module of the AngularJS framework providing features helpful for testing.
I want to test an Angular controller for my application fooApp, defined as follow: var fooApp = angular.module('fooApp', [ 'ngRoute', …
angularjs jasmine karma-runner karma-jasmine angular-mockIs there a way to return an HttpPromise (or something similar) to mimic a call to $http? I want to …
angularjs angularjs-http angular-mockI'm trying to create some unit tests in Angular using Jasmine being run through Teaspoon. The tests are running, however …
angularjs angular-mock teaspoonI have the following provider: angular.module('MyApp').provider('MyDevice', function () { var ngInjector = angular.injector(['ng']), $window = ngInjector.get('$…
angularjs unit-testing karma-jasmine angular-mockWe have a huge project and we have written a lot of test cases to cover a lot of real …
angular protractor angular-mock angular-e2e angular-testI wrote this little code in separate .js file for frontend backendless environment. I need to get myfile.json whenever …
javascript ajax json angularjs angular-mockI'm trying to setup an e2e test suite in angular, and need to return canned responses using $httpBackend. It …
javascript angularjs angular-mockVersions typescript: 2.1.4 systemjs: 0.19.41 angular: 1.5.10 angular-mocks: 1.5.10 Problem I'm trying to load angular-mocks with systemjs in a typescript 2.0 project. If i use …
angularjs systemjs angular-mockI would like to Jasmine test that Welcome.go has been called. Welcome is an angular service. angular.module('welcome',[]) .…
javascript angularjs unit-testing jasmine angular-mock