()
| 184 | } |
| 185 | |
| 186 | export async function cleanUpWorkspace(): Promise<void> { |
| 187 | await vscode.commands.executeCommand('workbench.action.closeAllEditors'); |
| 188 | assert.equal(vscode.window.visibleTextEditors.length, 0, 'Expected all editors closed.'); |
| 189 | assert(!vscode.window.activeTextEditor, 'Expected no active text editor.'); |
| 190 | } |
| 191 | |
| 192 | export async function reloadConfiguration(config: IConfiguration) { |
| 193 | Globals.mockConfiguration = config; |