@@ -37,7 +37,7 @@ describe("proxy", () => {
37
37
e . get ( "/wsup" , ( req , res ) => {
38
38
res . json ( "asher is the best" )
39
39
} )
40
- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
40
+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
41
41
const resp = await codeServer . fetch ( proxyPath )
42
42
expect ( resp . status ) . toBe ( 200 )
43
43
const json = await resp . json ( )
@@ -48,7 +48,7 @@ describe("proxy", () => {
48
48
e . get ( absProxyPath , ( req , res ) => {
49
49
res . json ( "joe is the best" )
50
50
} )
51
- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
51
+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
52
52
const resp = await codeServer . fetch ( absProxyPath )
53
53
expect ( resp . status ) . toBe ( 200 )
54
54
const json = await resp . json ( )
@@ -62,7 +62,7 @@ describe("proxy", () => {
62
62
e . post ( "/finale" , ( req , res ) => {
63
63
res . json ( "redirect success" )
64
64
} )
65
- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
65
+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
66
66
const resp = await codeServer . fetch ( proxyPath , {
67
67
method : "POST" ,
68
68
} )
@@ -78,7 +78,7 @@ describe("proxy", () => {
78
78
e . post ( finalePath , ( req , res ) => {
79
79
res . json ( "redirect success" )
80
80
} )
81
- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
81
+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
82
82
const resp = await codeServer . fetch ( absProxyPath , {
83
83
method : "POST" ,
84
84
} )
@@ -91,7 +91,7 @@ describe("proxy", () => {
91
91
e . post ( "/wsup" , ( req , res ) => {
92
92
res . json ( req . body )
93
93
} )
94
- ; [ , , codeServer ] = await integration . setup ( [ "--auth=none" ] , "" )
94
+ codeServer = await integration . setup ( [ "--auth=none" ] , "" )
95
95
const resp = await codeServer . fetch ( proxyPath , {
96
96
method : "post" ,
97
97
body : JSON . stringify ( "coder is the best" ) ,
0 commit comments