MCPcopy Create free account
hub / github.com/select2/select2 / assertNotOpened

Function assertNotOpened

tests/selection/openOnKeyDown-tests.js:99–101  ·  view source on GitHub ↗

* Assertion function used by the above test* wrappers. Asserts that the given * select2 instance is not open. * * @param {Assert} assert * @param {Select2} select * @return {null}

(assert, select2)

Source from the content-addressed store, hash-verified

97 * @return {null}
98 */
99function assertNotOpened (assert, select2) {
100 assert.notOk(select2.isOpen(), 'The element should not be open');
101}
102
103/**
104 * ENTER, SPACE, and ALT+DOWN should all open an enabled select2 element.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…