@@ -64,7 +64,7 @@ describe('Docker CLI interception', function () {
6464 const { server, httpsConfig} = await testSetup ;
6565 const mainRule = await server . forGet ( 'https://example.test' ) . thenReply ( 200 ) ;
6666
67- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
67+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
6868
6969 childProc . spawn (
7070 'docker' , [ 'run' , '--rm' , imageId , 'https://example.test' ] ,
@@ -95,7 +95,7 @@ describe('Docker CLI interception', function () {
9595
9696 const mainRule = await server . forGet ( "https://example.test" ) . thenReply ( 200 ) ;
9797
98- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
98+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
9999
100100 const { exitCode, stdout, stderr } = await spawnToResult (
101101 'docker' , [ 'run' , '--rm' , 'node:14' , '-e' , `require("https").get("https://example.test")` ] ,
@@ -119,7 +119,7 @@ describe('Docker CLI interception', function () {
119119
120120 const mainRule = await server . forAnyRequest ( ) . thenReply ( 200 , "Mock response\n" ) ;
121121
122- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
122+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
123123
124124 const { exitCode, stdout, stderr } = await spawnToResult ( 'docker' , [ 'build' , '.' ] , {
125125 env : { ...process . env , ...terminalEnvOverrides } ,
@@ -185,7 +185,7 @@ Successfully built <hash>
185185 it ( "should support proxying 'docker exec'" , async function ( ) {
186186 const { server, httpsConfig } = await testSetup ;
187187
188- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
188+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
189189
190190 // Launch a background Node.js container that stays running for 10 seconds
191191 const runResult = await spawnToResult (
@@ -232,7 +232,7 @@ Successfully built <hash>
232232 true
233233 ) ;
234234
235- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
235+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
236236
237237 // "DC Up" the same project, but in an intercepted env. Should ignore the existing containers,
238238 // create new intercepted containers, and then up those as normal.
@@ -281,7 +281,7 @@ Successfully built <hash>
281281 true
282282 ) ;
283283
284- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
284+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
285285
286286 // "DC Up" the same project, but in an intercepted env. Should ignore the existing containers,
287287 // create new intercepted containers, and then up those as normal.
@@ -316,7 +316,7 @@ Successfully built <hash>
316316 it ( "should clean up containers after shutdown" , async ( ) => {
317317 const { server, httpsConfig } = await testSetup ;
318318
319- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
319+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
320320
321321 const uninterceptedResult = await spawnToResult ( 'docker' , [ 'create' , 'node:14' ] ) ;
322322
@@ -358,7 +358,7 @@ Successfully built <hash>
358358 const { server, httpsConfig } = await testSetup ;
359359 const docker = new Docker ( ) ;
360360
361- const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env , { } ) ;
361+ const terminalEnvOverrides = getTerminalEnvVars ( server . port , httpsConfig , process . env ) ;
362362
363363 // Tunnel doesn't start preemptively:
364364 await delay ( 500 ) ;
0 commit comments