MCPcopy
hub / github.com/PowerShell/vscode-powershell / changeCwdSetting

Function changeCwdSetting

test/core/settings.test.ts:20–27  ·  view source on GitHub ↗
(cwd: string | undefined)

Source from the content-addressed store, hash-verified

18
19describe("Settings E2E", function () {
20 async function changeCwdSetting(cwd: string | undefined): Promise<void> {
21 await changeSetting(
22 "cwd",
23 cwd,
24 vscode.ConfigurationTarget.Workspace,
25 undefined,
26 );
27 }
28
29 async function resetCwdSetting(): Promise<void> {
30 await changeCwdSetting(undefined);

Callers 2

resetCwdSettingFunction · 0.85
settings.test.tsFile · 0.85

Calls 1

changeSettingFunction · 0.90

Tested by

no test coverage detected