bootstrap/js/tests/unit/util
Rohit Sharma c9cd741aff
Throw a `TypeError` instead of the generic `Error` (#32585)
* Change from Error to TypeError

* Convert the `NAME` to upper case to make the consistency in the error message

* Update the remaining tests to be stricter

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 22:13:30 +02:00
..
index.spec.js Throw a `TypeError` instead of the generic `Error` (#32585) 2021-01-13 22:13:30 +02:00
sanitizer.spec.js tests: fix sanitizer test. (#32045) 2020-11-02 14:49:56 +02:00