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

Function assertOpened

tests/selection/openOnKeyDown-tests.js:87–89  ·  view source on GitHub ↗

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

(assert, select2)

Source from the content-addressed store, hash-verified

85 * @return {null}
86 */
87function assertOpened (assert, select2) {
88 assert.ok(select2.isOpen(), 'The element should be open');
89}
90
91/**
92 * Assertion function used by the above test* wrappers. Asserts that the given

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…