We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
create
1 parent 489be7a commit 26e4f92Copy full SHA for 26e4f92
packages/driver/src/cy/commands/xhr.ts
@@ -5,7 +5,7 @@ import Promise from 'bluebird'
5
import $utils from '../../cypress/utils'
6
import $errUtils from '../../cypress/error_utils'
7
import $stackUtils from '../../cypress/stack_utils'
8
-import $Server, { Server } from '../../cypress/server'
+import { Server } from '../../cypress/server'
9
import { $Location } from '../../cypress/location'
10
11
let server: Server | null = null
@@ -103,7 +103,7 @@ type XHRConsoleProps = {
103
const startXhrServer = (cy, state, config) => {
104
const logs = {}
105
106
- server = $Server.create({
+ server = new Server({
107
xhrUrl: config('xhrUrl'),
108
stripOrigin,
109
0 commit comments