diff options
| author | GeoSot <[email protected]> | 2022-03-10 02:07:01 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2022-03-10 15:22:14 +0200 |
| commit | 3673933fe74b4323267b0b0a7871a393ce2ff5cb (patch) | |
| tree | be64fa5d0d3c678784d4a5b5d6b20caa7b0bacf0 /js/tests | |
| parent | ec0e1c220e2f9b1f4591b4c7f12a622822f14014 (diff) | |
| download | bootstrap-3673933fe74b4323267b0b0a7871a393ce2ff5cb.tar.xz bootstrap-3673933fe74b4323267b0b0a7871a393ce2ff5cb.zip | |
Carousel: rename private property
Diffstat (limited to 'js/tests')
| -rw-r--r-- | js/tests/unit/carousel.spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/unit/carousel.spec.js b/js/tests/unit/carousel.spec.js index 536a60e27..9817b83f1 100644 --- a/js/tests/unit/carousel.spec.js +++ b/js/tests/unit/carousel.spec.js @@ -891,7 +891,7 @@ describe('Carousel', () => { expect(carousel.cycle).toHaveBeenCalledWith(true) expect(carousel._clearInterval).toHaveBeenCalled() - expect(carousel._isPaused).toBeTrue() + expect(carousel._stayPaused).toBeTrue() }) it('should not call cycle if nothing is in transition', () => { @@ -917,7 +917,7 @@ describe('Carousel', () => { expect(carousel.cycle).not.toHaveBeenCalled() expect(carousel._clearInterval).toHaveBeenCalled() - expect(carousel._isPaused).toBeTrue() + expect(carousel._stayPaused).toBeTrue() }) it('should not set is paused at true if an event is passed', () => { @@ -942,7 +942,7 @@ describe('Carousel', () => { carousel.pause(event) expect(carousel._clearInterval).toHaveBeenCalled() - expect(carousel._isPaused).toBeFalse() + expect(carousel._stayPaused).toBeFalse() }) }) @@ -988,7 +988,7 @@ describe('Carousel', () => { spyOn(window, 'setInterval').and.callThrough() - carousel._isPaused = true + carousel._stayPaused = true carousel.cycle(true) expect(window.setInterval).not.toHaveBeenCalled() |
