MCPcopy
hub / github.com/VSCodeVim/Vim / cleanUpWorkspace

Function cleanUpWorkspace

test/testUtils.ts:186–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186export 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
192export async function reloadConfiguration(config: IConfiguration) {
193 Globals.mockConfiguration = config;

Callers 1

setupWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected