From d8999dd5666336dcf6976cc65bc0d562a4baec5a Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Thu, 2 Dec 2021 11:01:11 +0100 Subject: Tests: Minor fixes (#35455) --- js/tests/unit/carousel.spec.js | 10 +++++----- js/tests/unit/collapse.spec.js | 8 ++++---- js/tests/unit/dropdown.spec.js | 2 +- js/tests/unit/modal.spec.js | 6 ++---- js/tests/unit/offcanvas.spec.js | 6 +++--- js/tests/unit/tab.spec.js | 2 +- js/tests/unit/tooltip.spec.js | 17 ++++++++++------- 7 files changed, 26 insertions(+), 25 deletions(-) (limited to 'js') diff --git a/js/tests/unit/carousel.spec.js b/js/tests/unit/carousel.spec.js index 66f4a8367b..ce9cd0fbcd 100644 --- a/js/tests/unit/carousel.spec.js +++ b/js/tests/unit/carousel.spec.js @@ -1430,7 +1430,7 @@ describe('Carousel', () => { ' ', ' ', ' ', - ' ', '' ].join('') @@ -1453,8 +1453,8 @@ describe('Carousel', () => { ' ', ' ', ' ', - ' ', - ' ', + ' ', '' ].join('') @@ -1520,8 +1520,8 @@ describe('Carousel', () => { ' ', ' ', ' ', - ' ', + ' ', '' ].join('') diff --git a/js/tests/unit/collapse.spec.js b/js/tests/unit/collapse.spec.js index a7635006fe..327a68449b 100644 --- a/js/tests/unit/collapse.spec.js +++ b/js/tests/unit/collapse.spec.js @@ -276,18 +276,18 @@ describe('Collapse', () => { '
', '
', '
', - ' ', + ' ', '
', '
', - '
content
', + '
content
', '
', '
', '
', '
', - ' ', + ' ', '
', '
', - '
content
', + '
content
', '
', '
', '
', diff --git a/js/tests/unit/dropdown.spec.js b/js/tests/unit/dropdown.spec.js index aec70063ec..037a6a5a93 100644 --- a/js/tests/unit/dropdown.spec.js +++ b/js/tests/unit/dropdown.spec.js @@ -130,7 +130,7 @@ describe('Dropdown', () => { it('should allow to pass config to Popper with `popperConfig` as a function', () => { fixtureEl.innerHTML = [ '