Skip to content

Commit

Permalink
Verified executeCommand ends up sending input to the terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman authored and djelinek committed Oct 2, 2023
1 parent a5b3f81 commit 70eefe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test-project/src/test/bottomBar/views-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 70eefe3

Please sign in to comment.