fix typedefs: add taskTimeout to cypress config (#7521)

This commit is contained in:
Ben Kucera
2020-05-29 10:14:25 -04:00
committed by GitHub
parent aecd376a14
commit f6613bd6fc
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -2296,6 +2296,11 @@ declare namespace Cypress {
* @default 30000
*/
responseTimeout: number
/**
* Time, in milliseconds, to wait for a task to finish executing during a cy.task() command
* @default 60000
*/
taskTimeout: number
/**
* Path to folder where application files will attempt to be served from
* @default root project folder
+2
View File
@@ -40,6 +40,8 @@ namespace CypressConfigTests {
Cypress.config('baseUrl', '.') // $ExpectType void
Cypress.config('baseUrl', null) // $ExpectType void
Cypress.config({ baseUrl: '.', }) // $ExpectType void
Cypress.config('taskTimeout') // $ExpectType number
}
namespace CypressEnvTests {