Skip to content

Commit 3eb3d67

Browse files
committed
feedback
1 parent 8d016dd commit 3eb3d67

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/driver/src/cypress/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class Server {
111111
constructor (options: any = {}) {
112112
this.options = _.defaults(options, serverDefaults)
113113

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
115115
this.cancelXhr = this.cancelXhr.bind(this)
116116
}
117117

@@ -194,9 +194,7 @@ export class Server {
194194
const responser = _.isObject(route.response) ? JSON.stringify : null
195195

196196
// add header properties for the xhr's id
197-
// and the testId
198197
this.setHeader(xhr, 'id', xhr.id)
199-
// setHeader(xhr, "testId", options.testId)
200198

201199
this.setHeader(xhr, 'status', route.status)
202200
this.setHeader(xhr, 'response', route.response, responser)

0 commit comments

Comments
 (0)