TestCoverageMapResponseToJSON() — typescript-sdk Function Reference
Architecture documentation for the TestCoverageMapResponseToJSON() function in TestCoverageMapResponse.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD 29543f1a_8ac1_c007_5318_90eb76094eaf["TestCoverageMapResponseToJSON()"] 4b2d4bf1_1192_962a_5efc_37542e86806e["TestCoverageMapResponseAsyncToJSON()"] 4b2d4bf1_1192_962a_5efc_37542e86806e -->|calls| 29543f1a_8ac1_c007_5318_90eb76094eaf fe84dffd_d669_b5be_17ba_c04a2801c899["TestCoverageMapMetadataToJSON()"] 29543f1a_8ac1_c007_5318_90eb76094eaf -->|calls| fe84dffd_d669_b5be_17ba_c04a2801c899 style 29543f1a_8ac1_c007_5318_90eb76094eaf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/TestCoverageMapResponse.ts lines 128–141
export function TestCoverageMapResponseToJSON(value?: TestCoverageMapResponse | null): any {
if (value == null) {
return value;
}
return {
'metadata': TestCoverageMapMetadataToJSON(value['metadata']),
'untestedFunctions': ((value['untestedFunctions'] as Array<any>).map(UntestedFunctionToJSON)),
'testedFunctions': ((value['testedFunctions'] as Array<any>).map(TestedFunctionToJSON)),
'testFiles': ((value['testFiles'] as Array<any>).map(TestFileInfoToJSON)),
'coverageByDomain': value['coverageByDomain'] == null ? undefined : ((value['coverageByDomain'] as Array<any>).map(CoverageByDomainToJSON)),
'coverageByFile': ((value['coverageByFile'] as Array<any>).map(CoverageByFileToJSON)),
};
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does TestCoverageMapResponseToJSON() do?
TestCoverageMapResponseToJSON() is a function in the typescript-sdk codebase.
What does TestCoverageMapResponseToJSON() call?
TestCoverageMapResponseToJSON() calls 1 function(s): TestCoverageMapMetadataToJSON.
What calls TestCoverageMapResponseToJSON()?
TestCoverageMapResponseToJSON() is called by 1 function(s): TestCoverageMapResponseAsyncToJSON.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free