@@ -37,7 +37,7 @@ describe("proxy", () => {
3737 e . get ( "/wsup" , ( req , res ) => {
3838 res . json ( "asher is the best" )
3939 } )
40- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
40+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
4141 const resp = await codeServer . fetch ( proxyPath )
4242 expect ( resp . status ) . toBe ( 200 )
4343 const json = await resp . json ( )
@@ -48,7 +48,7 @@ describe("proxy", () => {
4848 e . get ( absProxyPath , ( req , res ) => {
4949 res . json ( "joe is the best" )
5050 } )
51- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
51+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
5252 const resp = await codeServer . fetch ( absProxyPath )
5353 expect ( resp . status ) . toBe ( 200 )
5454 const json = await resp . json ( )
@@ -62,7 +62,7 @@ describe("proxy", () => {
6262 e . post ( "/finale" , ( req , res ) => {
6363 res . json ( "redirect success" )
6464 } )
65- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
65+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
6666 const resp = await codeServer . fetch ( proxyPath , {
6767 method : "POST" ,
6868 } )
@@ -78,7 +78,7 @@ describe("proxy", () => {
7878 e . post ( finalePath , ( req , res ) => {
7979 res . json ( "redirect success" )
8080 } )
81- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
81+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
8282 const resp = await codeServer . fetch ( absProxyPath , {
8383 method : "POST" ,
8484 } )
@@ -91,7 +91,7 @@ describe("proxy", () => {
9191 e . post ( "/wsup" , ( req , res ) => {
9292 res . json ( req . body )
9393 } )
94- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
94+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
9595 const resp = await codeServer . fetch ( proxyPath , {
9696 method : "post" ,
9797 body : JSON . stringify ( "coder is the best" ) ,
0 commit comments