mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 13:30:26 -05:00
fix typedefs: add taskTimeout to cypress config (#7521)
This commit is contained in:
Vendored
+5
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user