1
0
mirror of synced 2024-11-26 14:56:07 +03:00
select2/tests/selection
Kevin Brown 88503d2c67 Add test for 698fe7b
This adds the test that ensures that the search focus is still
focused, even after the selection is updated (for whatever reason).
Note that we are not triggering the `change` event here, and are
instead just re-calling `update` on the selection adapter. This is
because we do not bind the `change` event in tests, so the selection
is never re-rendered and the tests will pass. The `update` method
is triggered during the `change` cycle anyway, so this has the
same effect while supporting cases where the selection is re-rendered
without the selected values changing.
2015-06-21 21:42:06 -04:00
..
allowClear-tests.js Combine tests into common files 2015-02-13 23:29:56 -05:00
containerCss-tests.js Add back *css* options through an adapter 2015-04-05 21:58:02 -04:00
multiple-tests.js Adding single select support and testing 2015-06-10 20:05:07 +10:00
placeholder-tests.js Combine tests into common files 2015-02-13 23:29:56 -05:00
search-tests.js Add test for 698fe7b 2015-06-21 21:42:06 -04:00
single-tests.js Adding single select support and testing 2015-06-10 20:05:07 +10:00
stopPropagation-tests.js Added modules for stopping event propagation 2015-02-09 20:04:01 -05:00