Skip to content

Commit

Permalink
remove wrong test
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Oct 29, 2024
1 parent 7c0b405 commit 0ccb053
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/test/common/terminals/helper.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,6 @@ suite('Terminal Service helpers', () => {
expect(safeTerminalOptions).to.not.have.property('PYTHONSTARTUP');
});

test('Create terminal should respect env passed in', () => {
const terminal = 'Terminal Created';
when(terminalManager.createTerminal(anything())).thenReturn(terminal as any);
terminalManager.createTerminal({
name: 'Python',
env: {},
hideFromUser: undefined,
});
const args = capture(terminalManager.createTerminal).first()[0];
const terminalOptions = args.env;
const safeTerminalOptions = terminalOptions || {};
expect(safeTerminalOptions).to.have.property('myCustomEnv', '123');
});

test('Create terminal without a title', () => {
const terminal = 'Terminal Created';
when(terminalManager.createTerminal(anything())).thenReturn(terminal as any);
Expand Down

0 comments on commit 0ccb053

Please sign in to comment.