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

Commit 55bae54

Browse files
committed
Debug test
1 parent 774ae97 commit 55bae54

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/ngMock/angular-mocksSpec.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,12 @@ describe('ngMock', function() {
358358
$interval(function() { counterA++; });
359359
$interval(function() { counterB++; }, 0);
360360

361-
$interval.flush(1000);
362-
expect(counterA).toBe(1000);
363-
expect(counterB).toBe(1000);
364-
$interval.flush(1000);
365-
expect(counterA).toBe(2000);
366-
expect(counterB).toBe(2000);
361+
$interval.flush(100);
362+
expect(counterA).toBe(100);
363+
expect(counterB).toBe(100);
364+
$interval.flush(100);
365+
expect(counterA).toBe(200);
366+
expect(counterB).toBe(200);
367367
}), 30000);
368368

369369

0 commit comments

Comments
 (0)