@@ -59,14 +59,14 @@ suite('Extension API Debugger', () => {
59
59
60
60
test ( 'Test debug launcher args (no-wait and in experiment)' , async ( ) => {
61
61
mockInExperiment ( ) ;
62
- when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--default' , '-- host', 'something' , '--port' , '1234' ] ) ;
62
+ when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--host' , 'something' , '--port' , '1234' ] ) ;
63
63
64
64
const args = await buildApi ( Promise . resolve ( ) , instance ( experimentsManager ) , instance ( debugAdapterFactory ) , instance ( configurationService ) ) . debug . getRemoteLauncherCommand (
65
65
'something' ,
66
66
1234 ,
67
67
false
68
68
) ;
69
- const expectedArgs = [ ptvsdPath , '--default' , '-- host', 'something' , '--port' , '1234' ] ;
69
+ const expectedArgs = [ ptvsdPath , '--host' , 'something' , '--port' , '1234' ] ;
70
70
71
71
expect ( args ) . to . be . deep . equal ( expectedArgs ) ;
72
72
} ) ;
@@ -86,14 +86,14 @@ suite('Extension API Debugger', () => {
86
86
87
87
test ( 'Test debug launcher args (wait and in experiment)' , async ( ) => {
88
88
mockInExperiment ( ) ;
89
- when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--default' , '-- host', 'something' , '--port' , '1234' , '--wait' ] ) ;
89
+ when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--host' , 'something' , '--port' , '1234' , '--wait' ] ) ;
90
90
91
91
const args = await buildApi ( Promise . resolve ( ) , instance ( experimentsManager ) , instance ( debugAdapterFactory ) , instance ( configurationService ) ) . debug . getRemoteLauncherCommand (
92
92
'something' ,
93
93
1234 ,
94
94
true
95
95
) ;
96
- const expectedArgs = [ ptvsdPath , '--default' , '-- host', 'something' , '--port' , '1234' , '--wait' ] ;
96
+ const expectedArgs = [ ptvsdPath , '--host' , 'something' , '--port' , '1234' , '--wait' ] ;
97
97
98
98
expect ( args ) . to . be . deep . equal ( expectedArgs ) ;
99
99
} ) ;
0 commit comments