(lines: string[])
| 18 | }); |
| 19 | |
| 20 | const setupTestWithLines = async (lines: string[]) => { |
| 21 | vimState.cursorStopPosition = new Position(0, 0); |
| 22 | |
| 23 | await modeHandler.handleKeyEvent('<Esc>'); |
| 24 | await vimState.editor.edit((builder) => { |
| 25 | builder.insert(new Position(0, 0), lines.join('\n')); |
| 26 | }); |
| 27 | await modeHandler.handleMultipleKeyEvents(['<Esc>', 'g', 'g', 'j', 'j', 'A']); |
| 28 | }; |
| 29 | |
| 30 | suite('Line Completion Provider unit tests', () => { |
| 31 | // TODO(#4844): this fails on Windows |
no test coverage detected