Skip to content

Commit 8f9afe4

Browse files
committed
fix(carousel.config): set default interval to 0
1 parent 86a6aaf commit 8f9afe4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/coreui-angular/src/lib/carousel/carousel.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export class CarouselConfig {
99
/* Default direction of auto changing of slides */
1010
direction: 'next' | 'prev' = 'next';
1111
/* Default interval of auto changing of slides */
12-
interval = 3000;
12+
interval = 0;
1313
}

projects/coreui-angular/src/lib/carousel/carousel/carousel.component.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('CarouselComponent', () => {
4141
expect(component.activeIndex()).toBe(0);
4242
expect(component.animate()).toBe(true);
4343
expect(component.direction()).toBe('next');
44-
expect(component.interval()).toBe(3000);
44+
expect(component.interval()).toBe(0);
4545
});
4646

4747
it('should call timer functions', fakeAsync(() => {

0 commit comments

Comments
 (0)