We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f1a3b9 commit d322572Copy full SHA for d322572
1 file changed
test/unit/directivesSpec.js
@@ -13,12 +13,12 @@ describe('timer directive', function() {
13
var element = $compile('<timer/>')($scope);
14
$scope.$digest();
15
$timeout(function() {
16
- expect(element.html()).toMatch(/^<span class="ng-scope ng-binding">/);
+ expect(element.html()).toMatch(/^<span class="ng-binding ng-scope">/);
17
expect(element.html().indexOf('</span>')).toBeGreaterThan(-1);
18
$rootScope.$broadcast('timer-stop');
19
}, 300);
20
$timeout.flush();
21
- expect($exceptionHandler.errors).toEqual(undefined);
+ expect($exceptionHandler.errors).toEqual([]);
22
});
23
24
0 commit comments