()
| 66 | } |
| 67 | |
| 68 | export async function getMainEditor(): Promise<Editor> { |
| 69 | const editorElement = await getElementByTestId("editor-input-main"); |
| 70 | if ("editor" in editorElement) { |
| 71 | return editorElement.editor as Editor; |
| 72 | } else { |
| 73 | throw new Error("Main editor not found within editor container"); |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | export async function sendInputWithMockedResponse( |
| 78 | ideMessenger: MockIdeMessenger, |
no test coverage detected