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

Function checkDOM

specs/Modal.spec.js:201–204  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

199 const closeTimeoutMS = 100;
200
201 function checkDOM(count) {
202 const portal = document.querySelectorAll(".ReactModalPortal");
203 portal.length.should.be.eql(count);
204 }
205
206 const props = { isOpen: true, closeTimeoutMS };
207 withModal(props, "hello", () => {

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…