Skip to content

Commit

Permalink
chore: Fixes type definitions (#8417)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephzidell authored Aug 27, 2020
1 parent 12080dc commit 603ecb9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cli/types/cypress.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5314,55 +5314,55 @@ 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
}

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
}

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
Expand Down

4 comments on commit 603ecb9

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 603ecb9 Aug 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/linux-x64/circle-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-433051/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/circle-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-433035/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 603ecb9 Aug 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/win32-x64/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/5.0.1/win32-x64/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/win32-x64/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/win32-x64/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 603ecb9 Aug 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

Instructions are included below, depending on the shell you are using.

In Command Prompt (cmd.exe):

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/win32-ia32/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

In PowerShell:

$env:CYPRESS_INSTALL_BINARY = https://cdn.cypress.io/beta/binary/5.0.1/win32-ia32/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

In Git Bash:

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/win32-ia32/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

Using cross-env:

If the above commands do not work for you, you can also try using cross-env:

npm i -g cross-env
cross-env CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/win32-ia32/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.zip npm install https://cdn.cypress.io/beta/npm/5.0.1/appveyor-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-34878079/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 603ecb9 Aug 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/5.0.1/darwin-x64/circle-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-433076/cypress.zip
npm install https://cdn.cypress.io/beta/npm/5.0.1/circle-develop-603ecb9b17d5cd5160e692c45036eae81e92657d-433063/cypress.tgz

Please sign in to comment.