forked from cypress-io/cypress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
38 lines (33 loc) · 1.34 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/// <reference path="../../cli/types/cy-blob-util.d.ts" />
/// <reference path="../../cli/types/cy-bluebird.d.ts" />
/// <reference path="../../cli/types/cy-minimatch.d.ts" />
/// <reference path="../../cli/types/lodash/index.d.ts" />
/// <reference path="../../cli/types/sinon/index.d.ts" />
/// <reference path="../../cli/types/jquery/index.d.ts" />
/// <reference path="../../cli/types/mocha/index.d.ts" />
/// <reference path="../../cli/types/cypress-npm-api.d.ts" />
/// <reference path="../../cli/types/net-stubbing.d.ts" />
/// <reference path="../../cli/types/cypress.d.ts" />
/// <reference path="../../cli/types/cypress-global-vars.d.ts" />
/// <reference path="../../cli/types/cypress-type-helpers.d.ts" />
// types for the `server` package
export namespace CyServer {
// TODO: pull this from main types
export interface Config {
blockHosts: string | string[]
clientRoute: string
experimentalCspAllowList: boolean | Cypress.experimentalCspAllowedDirectives[]
experimentalSourceRewriting: boolean
modifyObstructiveCode: boolean
experimentalModifyObstructiveThirdPartyCode: boolean
experimentalSkipDomainInjection: string[] | null
/**
* URL to Cypress's runner.
*/
responseTimeout: number
}
export interface Socket {
toDriver: (eventName: string, ...args: any) => void
}
}
export default CyServer