Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lobos/react-ui
/ cb
Function
cb
test/components/Select/behavior.js:15–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
14
it(
'Should call onChange callback'
, (done) => {
15
const
cb = () => {
16
done()
17
},
18
wrapper1 = shallow(<Select data={dataList1} onChange={cb} readOnly={true} />)
19
20
wrapper1.simulate(
'change'
)
Callers
1
scrollValueMonitor
Function · 0.50
Calls
1
done
Function · 0.50
Tested by
no test coverage detected