Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactjs/react-modal
/ helper.js
File
helper.js
specs/helper.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
React from
"react"
;
2
import
ReactDOM from
"react-dom"
;
3
import
Modal, { bodyOpenClassName } from
"../src/components/Modal"
;
4
import
TestUtils from
"react-dom/test-utils"
;
Callers
nothing calls this directly
Calls
3
modalComponent
Function · 0.85
getModalAttribute
Function · 0.85
dispatchMockEvent
Function · 0.85
Tested by
no test coverage detected