( file: ts.SourceFile, diagnosticsByFile: DiagnosticsByFile, attestAliases: string[] )
| 50 | } |
| 51 | |
| 52 | export const getAssertionsInFile = ( |
| 53 | file: ts.SourceFile, |
| 54 | diagnosticsByFile: DiagnosticsByFile, |
| 55 | attestAliases: string[] |
| 56 | ): TypeAssertionData[] => { |
| 57 | const assertCalls = getCallExpressionsByName(file, attestAliases) |
| 58 | return assertCalls.map(call => analyzeAssertCall(call, diagnosticsByFile)) |
| 59 | } |
| 60 | |
| 61 | export const analyzeAssertCall = ( |
| 62 | assertCall: ts.CallExpression, |
no test coverage detected
searching dependent graphs…