]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
JS: tests fixes & standardization of spies usage (#36398)
authorLouis-Maxime Piton <louismaxime.piton@orange.com>
Tue, 31 May 2022 08:18:32 +0000 (10:18 +0200)
committerGitHub <noreply@github.com>
Tue, 31 May 2022 08:18:32 +0000 (11:18 +0300)
commitd388bd6e1b0a21733a157182e1098b02a0449274
tree92d8c4f7cd9fa68f37d4fbeba375c38a1af53059
parent78c0ad8044959dae5239eac1a6cb9a752878e88b
JS: tests fixes & standardization of spies usage  (#36398)

* Fix carousel spec typo
* Change carousel test name in align with testing method
* Make the spies declarations the same everywhere
18 files changed:
js/tests/unit/alert.spec.js
js/tests/unit/base-component.spec.js
js/tests/unit/button.spec.js
js/tests/unit/carousel.spec.js
js/tests/unit/collapse.spec.js
js/tests/unit/dropdown.spec.js
js/tests/unit/modal.spec.js
js/tests/unit/offcanvas.spec.js
js/tests/unit/popover.spec.js
js/tests/unit/scrollspy.spec.js
js/tests/unit/tab.spec.js
js/tests/unit/toast.spec.js
js/tests/unit/tooltip.spec.js
js/tests/unit/util/component-functions.spec.js
js/tests/unit/util/focustrap.spec.js
js/tests/unit/util/index.spec.js
js/tests/unit/util/sanitizer.spec.js
js/tests/unit/util/swipe.spec.js