From 70eefe35fd75d6d753b5ba2d618d37030ae27c8c Mon Sep 17 00:00:00 2001 From: Davy Landman Date: Mon, 25 Sep 2023 16:33:09 +0200 Subject: [PATCH] Verified executeCommand ends up sending input to the terminal --- test/test-project/src/test/bottomBar/views-test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-project/src/test/bottomBar/views-test.ts b/test/test-project/src/test/bottomBar/views-test.ts index 928d98ac1..ade3c84ff 100644 --- a/test/test-project/src/test/bottomBar/views-test.ts +++ b/test/test-project/src/test/bottomBar/views-test.ts @@ -86,6 +86,7 @@ describe('Output View/Text Views', function () { it('executeCommand works', async function () { const command = `${process.platform === 'win32' ? 'start-sleep -s' : 'sleep'} 2`; await terminal.executeCommand(command, 5000); + expect(await terminal.getText()).to.have.string("sleep"); }); it('newTerminal opens a new term channel', async function () {