MCPcopy Create free account
hub / github.com/Lobos/react-ui / cb

Function cb

test/components/Checkbox/behavior.js:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7describe('Behavior', () => {
8 it('Should call onChange callback', (done) => {
9 const cb = () => {
10 done()
11 },
12 wrapper1 = shallow(<CheckBox text='foo' onChange={cb} />),
13 wrapper2 = shallow(<CheckBoxGroup data={compData.dataList2} onChange={cb} />)
14

Callers

nothing calls this directly

Calls 1

doneFunction · 0.50

Tested by

no test coverage detected