(
code: string,
interactiveWindow: InteractiveWindow,
newCellCount: number
)
| 232 | } |
| 233 | |
| 234 | export async function runInteractiveWindowInput( |
| 235 | code: string, |
| 236 | interactiveWindow: InteractiveWindow, |
| 237 | newCellCount: number |
| 238 | ) { |
| 239 | await insertIntoInputEditor(code, interactiveWindow); |
| 240 | await vscode.commands.executeCommand('workbench.action.focusSecondEditorGroup'); |
| 241 | await vscode.commands.executeCommand('interactive.input.focus'); |
| 242 | await vscode.commands.executeCommand('interactive.execute'); |
| 243 | return waitForLastCellToComplete(interactiveWindow, newCellCount, false); |
| 244 | } |
| 245 | |
| 246 | export async function waitForLastCellToComplete( |
| 247 | interactiveWindow: InteractiveWindow, |
no test coverage detected