normalizeReactCodeLocInfo() — react Function Reference
Architecture documentation for the normalizeReactCodeLocInfo() function in ReactFlight-test.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 8d09a17e_fc6a_42a6_84a2_88e50e54cf17["normalizeReactCodeLocInfo()"] 7749c8cb_8c35_dbe4_b093_b2ee66ecd9da["ReactFlight-test.js"] 8d09a17e_fc6a_42a6_84a2_88e50e54cf17 -->|defined in| 7749c8cb_8c35_dbe4_b093_b2ee66ecd9da 14ac4e8c_de66_7765_84f6_76bba89e42a6["getErrorForJestMatcher()"] 14ac4e8c_de66_7765_84f6_76bba89e42a6 -->|calls| 8d09a17e_fc6a_42a6_84a2_88e50e54cf17 style 8d09a17e_fc6a_42a6_84a2_88e50e54cf17 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-client/src/__tests__/ReactFlight-test.js lines 34–38
function normalizeReactCodeLocInfo(str) {
const repoRootForRegexp = __REACT_ROOT_PATH_TEST__.replace(/\//g, '\\/');
const repoFileLocMatch = new RegExp(`${repoRootForRegexp}.+?:\\d+:\\d+`, 'g');
return str && str.replace(repoFileLocMatch, '**');
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does normalizeReactCodeLocInfo() do?
normalizeReactCodeLocInfo() is a function in the react codebase, defined in packages/react-client/src/__tests__/ReactFlight-test.js.
Where is normalizeReactCodeLocInfo() defined?
normalizeReactCodeLocInfo() is defined in packages/react-client/src/__tests__/ReactFlight-test.js at line 34.
What calls normalizeReactCodeLocInfo()?
normalizeReactCodeLocInfo() is called by 1 function(s): getErrorForJestMatcher.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free