onTestCaseResult() — react Function Reference
Architecture documentation for the onTestCaseResult() function in equivalenceReporter.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 7d3b578b_48b2_e95b_9f29_002ab2e15c90["onTestCaseResult()"] acc34182_8343_e77e_3430_f6f21ab5ca72["EquivalenceReporter"] 7d3b578b_48b2_e95b_9f29_002ab2e15c90 -->|defined in| acc34182_8343_e77e_3430_f6f21ab5ca72 style 7d3b578b_48b2_e95b_9f29_002ab2e15c90 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/jest/spec-equivalence-reporter/equivalenceReporter.js lines 11–17
onTestCaseResult(test, testCaseResult) {
console.log(
`EQUIVALENCE: ${testCaseResult.title}, ` +
`status: ${testCaseResult.status}, ` +
`numExpectations: ${testCaseResult.numPassingAsserts}`
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does onTestCaseResult() do?
onTestCaseResult() is a function in the react codebase, defined in scripts/jest/spec-equivalence-reporter/equivalenceReporter.js.
Where is onTestCaseResult() defined?
onTestCaseResult() is defined in scripts/jest/spec-equivalence-reporter/equivalenceReporter.js at line 11.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free