From 9f326b5af86c64779f458150fed9975f318cba20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=A4der?= Date: Tue, 31 Dec 2024 14:22:17 +0100 Subject: [PATCH] Remove more tests checking for node-pty throwing on terminal create MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Mäder --- packages/task/src/node/task-server.slow-spec.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/task/src/node/task-server.slow-spec.ts b/packages/task/src/node/task-server.slow-spec.ts index 766beaea81d94..6487aa0759cd8 100644 --- a/packages/task/src/node/task-server.slow-spec.ts +++ b/packages/task/src/node/task-server.slow-spec.ts @@ -25,7 +25,6 @@ import * as https from 'https'; import { isWindows, isOSX } from '@theia/core/lib/common/os'; import { FileUri } from '@theia/core/lib/node'; import { terminalsPath } from '@theia/terminal/lib/common/terminal-protocol'; -import { expectThrowsAsync } from '@theia/core/lib/common/test/expect'; import { TestWebSocketChannelSetup } from '@theia/core/lib/node/messaging/test/test-web-socket-channel'; import { expect } from 'chai'; import URI from '@theia/core/lib/common/uri'; @@ -251,11 +250,6 @@ describe('Task server / back-end', function (): void { } }); - it('task using raw process can handle command that does not exist', async function (): Promise { - const p = taskServer.run(createProcessTaskConfig2('process', bogusCommand, []), wsRoot); - await expectThrowsAsync(p, 'ENOENT'); - }); - it('getTasks(ctx) returns tasks according to created context', async function (): Promise { const context1 = 'aContext'; const context2 = 'anotherContext';