aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/base-component.spec.js
AgeCommit message (Collapse)AuthorFilesLines
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR1-4/+4
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
2022-05-31JS: tests fixes & standardization of spies usage (#36398)Louis-Maxime Piton1-2/+2
* Fix carousel spec typo * Change carousel test name in align with testing method * Make the spies declarations the same everywhere
2021-12-01tests: remove extra spaces, unneeded arrays and add missing newlinesXhmikosR1-0/+3
2021-12-01tests: tweak Jasmine's matchers usageXhmikosR1-3/+3
Use: * toBeNull * toEqual * toBeTrue * toBeFalse * toHaveSize * toHaveClass
2021-11-29BaseComponent: add a couple more tests (#35410)GeoSot1-0/+18
Co-authored-by: XhmikosR <[email protected]>
2021-06-29Accept argument of different types in the `getInstance` method (#34333)Jeremy Jackson1-0/+14
2021-06-03Add `getOrCreateInstance` method in base-component (#33276)GeoSot1-0/+17
Co-authored-by: Rohit Sharma <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-05-11Extract static `DATA_KEY` & `EVENT_KEY` to base-component (#33635)GeoSot1-0/+116
* Force each plugin that extends base-components to implement a static method `NAME()` * Remove redundant `NAME` argument from 'Utils.defineJQueryPlugin' & fix test