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

Function reloadConfiguration

test/testUtils.ts:192–201  ·  view source on GitHub ↗
(config: IConfiguration)

Source from the content-addressed store, hash-verified

190}
191
192export async function reloadConfiguration(config: IConfiguration) {
193 Globals.mockConfiguration = config;
194
195 const validatorResults = await (
196 await import('../src/configuration/configuration')
197 ).configuration.load();
198 for (const validatorResult of validatorResults.get()) {
199 console.warn(validatorResult);
200 }
201}
202
203/**
204 * Waits for the tabs to change after a command like 'gt' or 'gT' is run.

Callers 6

newTestGenericFunction · 0.90
testItWithRemapsFunction · 0.90
modeVisual.test.tsFile · 0.90
modeInsert.test.tsFile · 0.90
substitute.test.tsFile · 0.90
setupWorkspaceFunction · 0.85

Calls 3

warnMethod · 0.80
getMethod · 0.65
loadMethod · 0.45

Tested by

no test coverage detected