chore(jshint): enforce jshint for tests

Closes #8023
Closes #8026
This commit is contained in:
Shahar Talmi
2014-06-30 22:59:34 +03:00
committed by rodyhaddad
parent da0e3c99f5
commit a0fad24dc2
70 changed files with 976 additions and 816 deletions

View File

@@ -16,7 +16,7 @@ describe('$controller', function() {
describe('provider', function() {
it('should allow registration of controllers', function() {
var FooCtrl = function($scope) { $scope.foo = 'bar' },
var FooCtrl = function($scope) { $scope.foo = 'bar'; },
scope = {},
ctrl;
@@ -29,8 +29,8 @@ describe('$controller', function() {
it('should allow registration of map of controllers', function() {
var FooCtrl = function($scope) { $scope.foo = 'foo' },
BarCtrl = function($scope) { $scope.bar = 'bar' },
var FooCtrl = function($scope) { $scope.foo = 'foo'; },
BarCtrl = function($scope) { $scope.bar = 'bar'; },
scope = {},
ctrl;
@@ -47,7 +47,7 @@ describe('$controller', function() {
it('should allow registration of controllers annotated with arrays', function() {
var FooCtrl = function($scope) { $scope.foo = 'bar' },
var FooCtrl = function($scope) { $scope.foo = 'bar'; },
scope = {},
ctrl;