Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a3fa069

Browse files
committed
fixup
1 parent c2b97c4 commit a3fa069

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

test/ngAnimate/animateSpec.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,8 @@ describe("animations", function() {
12011201
expect(capturedAnimation[2].addClass).toBe('blue');
12021202
}));
12031203

1204-
it('should NOT cancel a previously joined addClass+structural animation if a follow-up removeClass animation is using the same class value (pre-digest)',
1204+
it('should NOT cancel a previously joined addClass+structural animation if a follow-up' +
1205+
'removeClass animation is using the same class value (pre-digest)',
12051206
inject(function($animate, $rootScope) {
12061207

12071208
var runner = $animate.enter(element, parent);
@@ -1219,7 +1220,7 @@ describe("animations", function() {
12191220
expect(capturedAnimation[2].addClass).toBe(null);
12201221
expect(capturedAnimation[2].removeClass).toBe(null);
12211222

1222-
expect(doneHandler).not.toHaveBeenCalledWith(true);
1223+
expect(doneHandler).not.toHaveBeenCalled();
12231224
}));
12241225

12251226
});

test/ngAnimate/integrationSpec.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,8 @@ describe('ngAnimate integration tests', function() {
758758
});
759759

760760

761-
it('should execute the enter animation on a <form> with ngIf that has a <input> of type="email" that is required', function() {
761+
it('should execute the enter animation on a <form> with ngIf that has an' +
762+
'<input type="email" required>', function() {
762763

763764
var animationSpy = jasmine.createSpy();
764765

@@ -776,7 +777,13 @@ describe('ngAnimate integration tests', function() {
776777
inject(function($animate, $rootScope, $compile) {
777778
var form;
778779

779-
element = jqLite('<div><form class="animate-me" ng-if="show"><input ng-model="myModel" type="email" required /></form></div>');
780+
element = jqLite(
781+
'<div>' +
782+
'<form class="animate-me" ng-if="show">' +
783+
'<input ng-model="myModel" type="email" required />' +
784+
'</form>' +
785+
'</div>');
786+
780787
html(element);
781788

782789
$compile(element)($rootScope);

0 commit comments

Comments
 (0)