MCPcopy
hub / github.com/reactjs/react-modal / check

Function check

specs/Modal.spec.js:677–677  ·  view source on GitHub ↗
(tobe)

Source from the content-addressed store, hash-verified

675 Modal.setAppElement(appElement);
676
677 const check = (tobe) => appElement.getAttribute("aria-hidden").should.be.eql(tobe);
678
679 const props = { isOpen: true, ariaHideApp: true, id: "test-3-modal-1" };
680 withModal(props, null, () => {

Callers 1

Modal.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…