mirror of
https://github.com/cypress-io/cypress.git
synced 2026-03-03 05:19:45 -06:00
chore: Fixes type definitions (#8417)
This commit is contained in:
16
cli/types/cypress.d.ts
vendored
16
cli/types/cypress.d.ts
vendored
@@ -5314,39 +5314,39 @@ declare namespace Cypress {
|
||||
declare namespace Mocha {
|
||||
interface TestFunction {
|
||||
/**
|
||||
* Describe a specification or test-case with the given `title`, TestCptions, and callback `fn` acting
|
||||
* Describe a specification or test-case with the given `title`, TestOptions, and callback `fn` acting
|
||||
* as a thunk.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn?: Func): Test
|
||||
|
||||
/**
|
||||
* Describe a specification or test-case with the given `title`, TestCptions, and callback `fn` acting
|
||||
* Describe a specification or test-case with the given `title`, TestOptions, and callback `fn` acting
|
||||
* as a thunk.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn?: AsyncFunc): Test
|
||||
}
|
||||
interface ExclusiveTestFunction {
|
||||
/**
|
||||
* Describe a specification or test-case with the given `title`, TestCptions, and callback `fn` acting
|
||||
* Describe a specification or test-case with the given `title`, TestOptions, and callback `fn` acting
|
||||
* as a thunk.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn?: Func): Test
|
||||
|
||||
/**
|
||||
* Describe a specification or test-case with the given `title`, TestCptions, and callback `fn` acting
|
||||
* Describe a specification or test-case with the given `title`, TestOptions, and callback `fn` acting
|
||||
* as a thunk.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn?: AsyncFunc): Test
|
||||
}
|
||||
interface PendingTestFunction {
|
||||
/**
|
||||
* Describe a specification or test-case with the given `title`, TestCptions, and callback `fn` acting
|
||||
* Describe a specification or test-case with the given `title`, TestOptions, and callback `fn` acting
|
||||
* as a thunk.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn?: Func): Test
|
||||
|
||||
/**
|
||||
* Describe a specification or test-case with the given `title`, TestCptions, and callback `fn` acting
|
||||
* Describe a specification or test-case with the given `title`, TestOptions, and callback `fn` acting
|
||||
* as a thunk.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn?: AsyncFunc): Test
|
||||
@@ -5354,7 +5354,7 @@ declare namespace Mocha {
|
||||
|
||||
interface SuiteFunction {
|
||||
/**
|
||||
* Describe a "suite" with the given `title`, TestCptions, and callback `fn` containing
|
||||
* Describe a "suite" with the given `title`, TestOptions, and callback `fn` containing
|
||||
* nested suites.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn: (this: Suite) => void): Suite
|
||||
@@ -5362,7 +5362,7 @@ declare namespace Mocha {
|
||||
|
||||
interface ExclusiveSuiteFunction {
|
||||
/**
|
||||
* Describe a "suite" with the given `title`, TestCptions, and callback `fn` containing
|
||||
* Describe a "suite" with the given `title`, TestOptions, and callback `fn` containing
|
||||
* nested suites. Indicates this suite should be executed exclusively.
|
||||
*/
|
||||
(title: string, config: Cypress.TestConfigOverrides, fn: (this: Suite) => void): Suite
|
||||
|
||||
Reference in New Issue
Block a user