Skip to content

chore: make create function on server.ts obsolete #18615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
4 changes: 2 additions & 2 deletions packages/driver/src/cy/commands/xhr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Promise from 'bluebird'
import $utils from '../../cypress/utils'
import $errUtils from '../../cypress/error_utils'
import $stackUtils from '../../cypress/stack_utils'
import $Server, { Server } from '../../cypress/server'
import { Server } from '../../cypress/server'
import { $Location } from '../../cypress/location'

let server: Server | null = null
Expand Down Expand Up @@ -103,7 +103,7 @@ type XHRConsoleProps = {
const startXhrServer = (cy, state, config) => {
const logs = {}

server = $Server.create({
server = new Server({
xhrUrl: config('xhrUrl'),
stripOrigin,

Expand Down
Loading