mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Create a regular profile to work better on CI
This commit is contained in:
parent
0df6031d30
commit
bcb2c6f8ee
|
@ -30,10 +30,6 @@ export function setup() {
|
|||
await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, process.platform === 'win32' ? 'PowerShell' : 'bash');
|
||||
}
|
||||
|
||||
async function createSimpleProfile() {
|
||||
await terminal.runCommandWithValue(TerminalCommandIdWithValue.NewWithProfile, process.platform === 'win32' ? 'Command Prompt' : 'sh');
|
||||
}
|
||||
|
||||
// TODO: Some agents may not have pwsh installed?
|
||||
(process.platform === 'win32' ? describe.skip : describe)(`Process-based tests`, function () {
|
||||
before(async function () {
|
||||
|
@ -82,7 +78,7 @@ export function setup() {
|
|||
});
|
||||
beforeEach(async function () {
|
||||
// Create the simplest system profile to get as little process interaction as possible
|
||||
await createSimpleProfile();
|
||||
await terminal.createTerminal();
|
||||
// Erase all content and reset cursor to top
|
||||
await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `${csi('2J')}${csi('H')}`);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue