(cell: NotebookCell)
| 635 | return items.map((item) => convertOutputMimeToJupyterOutput(item.mime, item.data as Uint8Array)).join(''); |
| 636 | } |
| 637 | export function getTextOutputValues(cell: NotebookCell): string { |
| 638 | return cell.outputs.map(getTextOutputValue).join(''); |
| 639 | } |
| 640 | export function hasErrorOutput(outputs: readonly NotebookCellOutput[]) { |
| 641 | const errorOutput = outputs.find( |
| 642 | (op) => op.items.length && !op.items.some((opit) => opit.mime !== CellOutputMimeTypes.error) |
no test coverage detected