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

Commit 774ae97

Browse files
committed
Debug test
1 parent e0dc38b commit 774ae97

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/ngMock/angular-mocksSpec.js

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

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);
367-
}));
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);
367+
}), 30000);
368368

369369

370370
it('should run tasks in correct relative order', inject(function($interval) {

0 commit comments

Comments
 (0)