johnpapa/angular-styleguide

AngularJS-UnitTesting | Weather App | Karma

sahilgupta3 opened this issue · 0 comments

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);
});
});
});