Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
unstable_flushNumberOfYields
Function · 0.50
unstable_flushUntilNextPaint
Function · 0.50
unstable_flushAllWithoutAsserting
Function · 0.50
installMockBrowserRuntime
Function · 0.50
fireSetImmediate
Function · 0.50
resolveAllClientFiles
Method · 0.50
then
Function · 0.50
ReactFlightDOMForm-test.js
File · 0.50
cleanupWith
Function · 0.50
_test_react_version
Function · 0.50
_test_react_version_focus
Function · 0.50
_test_ignore_for_react_version
Function · 0.50
Calls
1
toBe
Method · 0.65
Tested by
no test coverage detected