UntestedFunctionToJSON() — typescript-sdk Function Reference
Architecture documentation for the UntestedFunctionToJSON() function in UntestedFunction.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD 54d82325_4b12_7a33_eb89_0e5842e23112["UntestedFunctionToJSON()"] b3e39174_1f43_ea00_abaf_03e8d9834f8f["NearestTestedCallerToJSON()"] 54d82325_4b12_7a33_eb89_0e5842e23112 -->|calls| b3e39174_1f43_ea00_abaf_03e8d9834f8f style 54d82325_4b12_7a33_eb89_0e5842e23112 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/UntestedFunction.ts lines 152–168
export function UntestedFunctionToJSON(value?: UntestedFunction | null): any {
if (value == null) {
return value;
}
return {
'file': value['file'],
'name': value['name'],
'line': value['line'],
'type': value['type'],
'confidence': value['confidence'],
'reason': value['reason'],
'nearestTestedCaller': NearestTestedCallerToJSON(value['nearestTestedCaller']),
'suggestedTestFile': value['suggestedTestFile'],
'testedSiblings': value['testedSiblings'] == null ? undefined : ((value['testedSiblings'] as Array<any>).map(TestedSiblingToJSON)),
};
}
Domain
Subdomains
Source
Frequently Asked Questions
What does UntestedFunctionToJSON() do?
UntestedFunctionToJSON() is a function in the typescript-sdk codebase.
What does UntestedFunctionToJSON() call?
UntestedFunctionToJSON() calls 1 function(s): NearestTestedCallerToJSON.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free