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