()
| 70 | } |
| 71 | |
| 72 | export function getDiagnosticsMeta(): { |
| 73 | diagnosticId?: string; |
| 74 | requestId?: string; |
| 75 | session?: string; |
| 76 | command?: string; |
| 77 | debug?: boolean; |
| 78 | flushOnSuccess?: boolean; |
| 79 | } { |
| 80 | const scope = diagnosticsStorage.getStore(); |
| 81 | if (!scope) return {}; |
| 82 | return { |
| 83 | diagnosticId: scope.diagnosticId, |
| 84 | requestId: scope.requestId, |
| 85 | session: scope.session, |
| 86 | command: scope.command, |
| 87 | debug: scope.debug, |
| 88 | flushOnSuccess: scope.flushOnSuccess, |
| 89 | }; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Sum the number of diagnostic events emitted in the current scope whose phase |
no outgoing calls
no test coverage detected