bootstrap/js
Ben Lertlumprasertkul 052def4568
Remove potential false positive assertions (#33288)
* Remove potential false positive assertions

querySelector() returns null but

expect(document.querySelector('...')).toBeDefined()

tests that the value is not undefined

* Migrated assertions from .toBeDefined() to .not.toBeNull() for .getInstance() calls in tests

* Migrate offcanvas assertions from .toBeDefined() to .not.toBeNull() for .getInstance() call

* convert more cases to not.toBeNull assertions

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 08:45:57 +03:00
..
dist Release v5.0.0 (#33647) 2021-05-05 22:32:12 +03:00
src Prevent toast autohiding if focusing or hovering (#33221) 2021-05-11 08:37:57 +03:00
tests Remove potential false positive assertions (#33288) 2021-05-11 08:45:57 +03:00
index.esm.js Release v5.0.0 (#33647) 2021-05-05 22:32:12 +03:00
index.umd.js Release v5.0.0 (#33647) 2021-05-05 22:32:12 +03:00