Skip to content

Commit 0ccb053

Browse files
committed
remove wrong test
1 parent 7c0b405 commit 0ccb053

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/test/common/terminals/helper.unit.test.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,6 @@ suite('Terminal Service helpers', () => {
108108
expect(safeTerminalOptions).to.not.have.property('PYTHONSTARTUP');
109109
});
110110

111-
test('Create terminal should respect env passed in', () => {
112-
const terminal = 'Terminal Created';
113-
when(terminalManager.createTerminal(anything())).thenReturn(terminal as any);
114-
terminalManager.createTerminal({
115-
name: 'Python',
116-
env: {},
117-
hideFromUser: undefined,
118-
});
119-
const args = capture(terminalManager.createTerminal).first()[0];
120-
const terminalOptions = args.env;
121-
const safeTerminalOptions = terminalOptions || {};
122-
expect(safeTerminalOptions).to.have.property('myCustomEnv', '123');
123-
});
124-
125111
test('Create terminal without a title', () => {
126112
const terminal = 'Terminal Created';
127113
when(terminalManager.createTerminal(anything())).thenReturn(terminal as any);

0 commit comments

Comments
 (0)