chore(server): share common routes (#18055)

This commit is contained in:
Lachlan Miller
2021-09-13 23:09:56 +10:00
committed by GitHub
parent 8b5cb13de1
commit 5955544fc0
15 changed files with 445 additions and 401 deletions
+16 -7
View File
@@ -22,6 +22,19 @@ declare namespace Cypress {
password: string
}
interface RemoteState {
auth?: {
username: string
password: string
}
domainName: string
strategy: 'file' | 'http'
origin: string
fileServer: string
props: Record<string, any>
visiting: string
}
interface Backend {
/**
* Firefox only: Force Cypress to run garbage collection routines.
@@ -2856,19 +2869,15 @@ declare namespace Cypress {
projectName: string
projectRoot: string
proxyUrl: string
remote: RemoteState
report: boolean
reporterRoute: string
reporterUrl: string
socketId: null | string
socketIoCookie: string
socketIoRoute: string
spec: {
absolute: string
name: string
relative: string
specFilter: null | string
specType: 'integration' | 'component'
}
spec: Cypress['spec']
specs: Array<Cypress['spec']>
xhrRoute: string
xhrUrl: string
}