diff options
author | Daniel Imms <2193314+Tyriar@users.noreply.github.com> | 2022-06-21 16:34:15 +0300 |
---|---|---|
committer | Daniel Imms <2193314+Tyriar@users.noreply.github.com> | 2022-06-21 16:34:15 +0300 |
commit | cb0bbcc8c4ac6e0a99fae863534b53b5bec363d1 (patch) | |
tree | d2675174107b4ff6660ff72c474a541d4c5a46e3 /test | |
parent | d0ca1d211028e45e601e27f55cc185cb1932a520 (diff) |
Document and remove unneeded command
Diffstat (limited to 'test')
-rw-r--r-- | test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts b/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts index 4b08bdfbf0e..a3522864455 100644 --- a/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts +++ b/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts @@ -73,6 +73,9 @@ export function setup() { }); }); + // These are integration tests that only test the UI side by simulating process writes. + // Because of this, they do not test the shell integration scripts, only what the scripts + // are expected to write. describe('Write data-based tests', () => { before(async function () { await setTerminalTestSettings(app); @@ -93,7 +96,7 @@ export function setup() { await terminal.assertCommandDecorations({ placeholder: 1, success: 1, error: 0 }); await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `\\r\\n${vsc('C')}Failure\\r\\n${vsc('D;1')}`); await terminal.assertCommandDecorations({ placeholder: 0, success: 1, error: 1 }); - await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `${vsc('A')}Prompt> ${vsc('B')}exitcode 1`); + await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `${vsc('A')}Prompt> ${vsc('B')}`); await terminal.assertCommandDecorations({ placeholder: 1, success: 1, error: 1 }); }); }); |