Fix windows profiles test

This commit is contained in:
Daniel Imms 2021-05-13 06:39:56 -07:00
parent 5d95c01ec1
commit 9a002ccef2

View file

@ -71,7 +71,7 @@ suite('Workbench - TerminalProfiles', () => {
const config: ITestTerminalConfig = {
profiles: {
windows: {
'PowerShell NoProfile': { source: ProfileSource.Pwsh, args: ['-NoProfile'], overrideName: true }
'PowerShell': { source: ProfileSource.Pwsh, args: ['-NoProfile'], overrideName: true }
},
linux: {},
osx: {},
@ -80,7 +80,7 @@ suite('Workbench - TerminalProfiles', () => {
};
const profiles = await detectAvailableProfiles(true, buildTestSafeConfigProvider(config), fsProvider, undefined, undefined, undefined);
const expected = [
{ profileName: 'PowerShell NoProfile', path: 'C:\\Program Files\\PowerShell\\7\\pwsh.exe', overrideName: true, args: ['-NoProfile'], isDefault: true }
{ profileName: 'PowerShell', path: 'C:\\Program Files\\PowerShell\\7\\pwsh.exe', overrideName: true, args: ['-NoProfile'], isDefault: true }
];
profilesEqual(profiles, expected);
});