Add server onAnyRequest, etc... functions to typedefs (#4109)

This commit is contained in:
Zach Bloomquist
2019-06-28 09:22:58 -04:00
committed by Jennifer Shehane
parent e7e3153d39
commit 19e1297240
+3
View File
@@ -2196,6 +2196,9 @@ declare namespace Cypress {
force404: boolean
urlMatchingOptions: object
whitelist(xhr: Request): void
onAnyRequest(route: RouteOptions, proxy: any): void
onAnyResponse(route: RouteOptions, proxy: any): void
onAnyAbort(route: RouteOptions, proxy: any): void
}
interface SetCookieOptions extends Loggable, Timeoutable {