MCPcopy Create free account
hub / github.com/reactjs/react-modal / check

Function check

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

Source from the content-addressed store, hash-verified

664 Modal.setAppElement(appElement);
665
666 const check = (tobe) => appElement.getAttribute("aria-hidden").should.be.eql(tobe);
667
668 const props = { isOpen: true, ariaHideApp: true, id: "test-3-modal-1" };
669 withModal(props, null, () => {

Callers 1

Modal.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected