mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Re-enable, add some more test logs
This commit is contained in:
@@ -185,8 +185,9 @@ import { assertNoRpc } from '../utils';
|
||||
});
|
||||
});
|
||||
|
||||
test.skip('Execution from onDidEndTaskProcess and onDidStartTaskProcess are equal to original', () => {
|
||||
test('Execution from onDidEndTaskProcess and onDidStartTaskProcess are equal to original', () => {
|
||||
return new Promise<void>(async (resolve) => {
|
||||
console.log('start test');
|
||||
const task = new Task({ type: 'testTask' }, TaskScope.Workspace, 'echo', 'testTask', new ShellExecution('echo', ['hello test']));
|
||||
let taskExecution: TaskExecution | undefined;
|
||||
const executeDoneEvent: EventEmitter<void> = new EventEmitter();
|
||||
@@ -233,9 +234,11 @@ import { assertNoRpc } from '../utils';
|
||||
console.log('taskExecution', taskExecution);
|
||||
}
|
||||
}));
|
||||
|
||||
console.log('before execute');
|
||||
taskExecution = await tasks.executeTask(task);
|
||||
console.log('before done');
|
||||
executeDoneEvent.fire();
|
||||
console.log('after done');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user