File tree 1 file changed +1
-3
lines changed
packages/driver/src/cypress
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export class Server {
111
111
constructor ( options : any = { } ) {
112
112
this . options = _ . defaults ( options , serverDefaults )
113
113
114
- // The function below is used as a callback for lodash
114
+ // The function below is used as a callback for lodash to cancel any pending xhrs
115
115
this . cancelXhr = this . cancelXhr . bind ( this )
116
116
}
117
117
@@ -194,9 +194,7 @@ export class Server {
194
194
const responser = _ . isObject ( route . response ) ? JSON . stringify : null
195
195
196
196
// add header properties for the xhr's id
197
- // and the testId
198
197
this . setHeader ( xhr , 'id' , xhr . id )
199
- // setHeader(xhr, "testId", options.testId)
200
198
201
199
this . setHeader ( xhr , 'status' , route . status )
202
200
this . setHeader ( xhr , 'response' , route . response , responser )
You can’t perform that action at this time.
0 commit comments