Open sahilgupta3 opened 4 years ago
Hi Experts,
Can you please help me correcting the AngularJS-UnitTesting with Karma
describe('Unit Test', function() { beforeEach(module('ourAppApp')); var $controller;
beforeEach(inject(function($controller){ $controller = $controller; })); describe('Do not remove', function() { it('Check 1', function() { expect(1).toBe(1); }); it('Check 2', function() { expect(1).toBe(1); }); }); });
Hi Experts,
Can you please help me correcting the AngularJS-UnitTesting with Karma
describe('Unit Test', function() { beforeEach(module('ourAppApp')); var $controller;
beforeEach(inject(function($controller){ $controller = $controller; })); describe('Do not remove', function() { it('Check 1', function() { expect(1).toBe(1); }); it('Check 2', function() { expect(1).toBe(1); }); }); });