mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Ensure data events are flushed before execution end fires
Fixes #241592
This commit is contained in:
@@ -142,7 +142,7 @@ import { assertNoRpc } from '../utils';
|
||||
await closeTerminalAsync(terminal);
|
||||
});
|
||||
|
||||
test.skip('TerminalShellExecution.read iterables should be available between the start and end execution events', async () => {
|
||||
test('TerminalShellExecution.read iterables should be available between the start and end execution events', async () => {
|
||||
const { terminal, shellIntegration } = await createTerminalAndWaitForShellIntegration();
|
||||
const events: string[] = [];
|
||||
disposables.push(window.onDidStartTerminalShellExecution(() => events.push('start')));
|
||||
@@ -164,7 +164,7 @@ import { assertNoRpc } from '../utils';
|
||||
await closeTerminalAsync(terminal);
|
||||
});
|
||||
|
||||
test.skip('TerminalShellExecution.read events should fire with contents of command', async () => {
|
||||
test('TerminalShellExecution.read events should fire with contents of command', async () => {
|
||||
const { terminal, shellIntegration } = await createTerminalAndWaitForShellIntegration();
|
||||
const events: string[] = [];
|
||||
|
||||
@@ -179,7 +179,7 @@ import { assertNoRpc } from '../utils';
|
||||
await closeTerminalAsync(terminal);
|
||||
});
|
||||
|
||||
test.skip('TerminalShellExecution.read events should give separate iterables per call', async () => {
|
||||
test('TerminalShellExecution.read events should give separate iterables per call', async () => {
|
||||
const { terminal, shellIntegration } = await createTerminalAndWaitForShellIntegration();
|
||||
|
||||
const { execution, endEvent } = executeCommandAsync(shellIntegration, 'echo hello');
|
||||
|
||||
Reference in New Issue
Block a user