(diagnostics: ReadonlyArray<SnapshotDiagnostic>)
| 714 | Predicate.isTagged(u, "SnapshotExtractionError") |
| 715 | |
| 716 | const snapshotExtractionError = (diagnostics: ReadonlyArray<SnapshotDiagnostic>): SnapshotExtractionError => |
| 717 | new SnapshotExtractionError({ |
| 718 | message: diagnostics.map((diagnostic) => `${diagnostic.code}: ${diagnostic.message}`).join("\n"), |
| 719 | diagnostics |
| 720 | }) |
| 721 | |
| 722 | const extractSnapshot = ( |
| 723 | options: ExtractSnapshotOptions, |
no test coverage detected