aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/carousel.spec.js
AgeCommit message (Expand)AuthorFilesLines
2024-02-06Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 (#39651)dependabot[bot]1-1/+3
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR1-5/+5
2022-06-14Carousel: Remove redundant reference to `interval=false` from docs (#36545)GeoSot1-7/+7
2022-05-31JS: tests fixes & standardization of spies usage (#36398)Louis-Maxime Piton1-64/+62
2022-04-21Carousel: Fix not used option (`ride`), simplify `cycle` method (#35983)GeoSot1-105/+104
2022-03-10Carousel: change class check as it can only exist if carousel is slidingGeoSot1-1/+2
2022-03-10Carousel: rename private propertyGeoSot1-4/+4
2022-03-10Carousel: omit redundant checks as we are always transforming the right valuesGeoSot1-4/+0
2022-03-09Carousel: refactor `_slide` method te accept only order as first argumentGeoSot1-20/+15
2022-03-09Carousel: reorder variables and refactor method to use it inlineGeoSot1-8/+8
2022-02-19tests: revisit all tests using Promise.reject instead of throwing an error (#...GeoSot1-2/+2
2022-01-30tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)GeoSot1-581/+627
2021-12-21Carousel: move repeated code to a methodGeoSot1-6/+6
2021-12-02Tests: Minor fixes (#35455)Louis-Maxime Piton1-5/+5
2021-12-01tests: remove extra spaces, unneeded arrays and add missing newlinesXhmikosR1-3/+2
2021-12-01tests: tweak Jasmine's matchers usageXhmikosR1-22/+22
2021-10-13tests: try to fix a few random failures (#35184)GeoSot1-0/+1
2021-10-11Extract Carousel's swipe functionality to a separate Class (#32999)GeoSot1-7/+11
2021-10-08tests: minor cleanup (#35138)XhmikosR1-13/+11
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR1-3/+3
2021-09-15Rename `e` to `event` (#34979)XhmikosR1-18/+18
2021-07-30Enable a few eslint-config-xo rules (#34620)XhmikosR1-5/+5
2021-06-22fix(carousel): arrow keys break animation if carousel sliding (#34307)alpadev1-4/+67
2021-06-16Fix carousel buttons (#34266)alpadev1-0/+28
2021-06-03Add `getOrCreateInstance` method in base-component (#33276)GeoSot1-0/+54
2021-05-11Remove potential false positive assertions (#33288)Ben Lertlumprasertkul1-2/+2
2021-04-07Fix wrong carousel transformation, direction to order (#33499)GeoSot1-20/+20
2021-03-17Fix carousel RTL and refactor code, fix rtl swipe issues (#32913)GeoSot1-29/+101
2021-02-22Allow constructors to accept a CSS selector (#32245)Rohit Sharma1-0/+11
2021-02-16Add tests for `DATA_KEY` (#33090)GeoSot1-0/+6
2021-02-12Add the missing expectations for touch events (#33060)Rohit Sharma1-2/+10
2021-02-12Fix event handler removal in dropdown/carousel dispose (#33000)Kyle Tsang1-2/+21
2021-01-28Make carousel indicators actual buttonsPatrick H. Lauke1-5/+9
2021-01-27Carousel: use buttons, not links, for prev/next controls (#32627)Patrick H. Lauke1-7/+31
2021-01-13Throw a `TypeError` instead of the generic `Error` (#32585)Rohit Sharma1-4/+2
2020-12-18test(carousel): french word in the wild (#32528)Gaƫl Poupard1-1/+1
2020-11-29Switch to Jasmine's `toBeInstanceOf` matcherXhmikosR1-1/+1
2020-11-29create a base componentJohann-S1-0/+20
2020-11-14Add `bs` in data attributesRohit Sharma1-26/+26
2020-11-01Check for data-interval on the first slide of carousel (#31818)Mitchell Bryson1-8/+34
2020-05-06tests: streamline HTML end tags (#30648)XhmikosR1-1/+1
2020-04-17Replace event.which with event.key and event.buttonTanguy Krotoff1-19/+19
2020-03-29Remove `MSPointerEvent` and `ms-touch-action` in tests (#30463)XhmikosR1-5/+4
2019-10-09Rename "js/tests/units" to "js/tests/unit". (#29503)XhmikosR1-0/+1201