How to mock ng-grid when unit testing a controller
I'm currently trying to write tests for existing blocks of code and running into an issue with a controller that has a nested ng-grid inside of it. The issue comes from the controller trying to interact with the grid on initialization. Testing Software node@0.10.14 karma@0.10.2 karma-jasmine@0.1.5 karma-chrome-launcher@0.1.2 My Test: define(["angularjs", "angular-mocks", "jquery", "js/3.0/report.app", "js/3.0/report.controller", "js/3.0/report.columns" ], function(angular, ngMocks, jquery, oARModule, oARCtrl, ARColumns) { "use strict"; describe("Report Center Unit Tests", function() { var