Skip to content

Commit

Permalink
ts: ignore agent argument to pass TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Aug 29, 2019
1 parent 647ae24 commit 66aa190
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/server/lib/util/ensure-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ export const isListening = (urlStr: string) => {

if (process.env.HTTP_PROXY) {
// cannot make arbitrary connections behind a proxy, attempt HTTP/HTTPS
// For some reason, TypeScript gets confused by the "agent" parameter
// and required double ts-ignore to allow it on local machines and on CI
// @ts-ignore
return rp({
url: urlStr,
// @ts-ignore
agent,
proxy: null,
})
Expand Down

4 comments on commit 66aa190

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 66aa190 Aug 29, 2019

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/3.5.0/linux-x64/circle-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-148676/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.5.0/circle-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-148655/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 66aa190 Aug 29, 2019

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.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.5.0/win32-x64/appveyor-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-27058625/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.5.0/win32-x64/appveyor-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-27058625/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 66aa190 Aug 29, 2019

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.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.5.0/win32-ia32/appveyor-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-27058625/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.5.0/win32-ia32/appveyor-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-27058625/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 66aa190 Aug 29, 2019

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/3.5.0/darwin-x64/circle-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-148697/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.5.0/circle-develop-66aa190bd762b4311d806636ce6a82fce7ae1ddc-148695/cypress.tgz

Please sign in to comment.