aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/util
AgeCommit message (Collapse)AuthorFilesLines
2020-11-14Add `bs` in data attributesRohit Sharma1-11/+11
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-02tests: fix sanitizer test. (#32045)XhmikosR1-1/+1
The test template does not include a `script` tag so the test always returned true.
2020-11-02tests: switch to using `toContain()` to check for substring presence (#32043)XhmikosR1-4/+4
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha1-0/+19
* extend jquery after domContentLoaded event is fired * add unittest for util onDOMContentLoaded * wait for trigger jquery event after domContentLoaded * remove domcontentready from eventHandler * move istanbul ignore statements to correct line Co-authored-by: XhmikosR <[email protected]>
2020-06-19Change whitelist to allowlist (#31066)Patrick H. Lauke1-7/+7
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-03-25fix: remove make array util function (#30430)Johann-S1-14/+0
2020-03-18fix: ensure `totype` always returns stringified null/undefined when ↵Johann-S1-1/+30
null/undefined is passed (#30383)
2019-10-09Rename "js/tests/units" to "js/tests/unit". (#29503)XhmikosR2-0/+452
2019-07-23Switch from QUnit to Jasmine.Johann-S2-242/+0
2019-03-11Comply to the new rules.XhmikosR1-5/+5
2019-02-26move util in a util folder with the sanitizerJohann-S2-0/+242