MCPcopy Index your code
hub / github.com/react/react / cb

Function cb

packages/react-dom/src/events/plugins/__tests__/ChangeEventPlugin-test.js:89–92  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

87 let called = 0;
88
89 function cb(e) {
90 called++;
91 expect(e.type).toBe('change');
92 }
93
94 const root = ReactDOMClient.createRoot(container);
95 await act(() => {

Callers 15

fireSetImmediateFunction · 0.50
resolveAllClientFilesMethod · 0.50
thenFunction · 0.50
cleanupWithFunction · 0.50
_test_react_versionFunction · 0.50

Calls 1

toBeMethod · 0.65

Tested by

no test coverage detected