File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
src/test/common/terminals Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments