From ab73aaf53d198afbfabc48c8488cdf2118a717be Mon Sep 17 00:00:00 2001 From: TabishB Date: Sun, 12 Apr 2026 01:00:49 +1000 Subject: [PATCH] test: fix windows powershell ci --- test/core/completions/installers/powershell-installer.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/core/completions/installers/powershell-installer.test.ts b/test/core/completions/installers/powershell-installer.test.ts index a01fee860a..0c7d6f7995 100644 --- a/test/core/completions/installers/powershell-installer.test.ts +++ b/test/core/completions/installers/powershell-installer.test.ts @@ -640,6 +640,7 @@ Register-ArgumentCompleter -CommandName openspec -ScriptBlock $openspecCompleter it('should skip UTF-16 BE profile and leave it unchanged', async () => { delete process.env.OPENSPEC_NO_AUTO_CONFIG; + process.env.PROFILE = path.join(testHomeDir, 'custom-profile.ps1'); const profilePath = installer.getProfilePath(); await fs.mkdir(path.dirname(profilePath), { recursive: true });