Skip to content

Commit

Permalink
chore: remove stale scaffold code & restore proejct-base unit tests (#…
Browse files Browse the repository at this point in the history
…24027)

Co-authored-by: Lachlan Miller <[email protected]>
  • Loading branch information
emilyrohrbough and lmiller1990 authored Oct 31, 2022
1 parent b916ba9 commit 8547f61
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 392 deletions.
14 changes: 0 additions & 14 deletions packages/server/lib/project-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,6 @@ export class ProjectBase<TServer extends Server> extends EE {
return this._server?.remoteStates
}

injectCtSpecificConfig (cfg) {
cfg.resolved.testingType = { value: 'component' }

return {
...cfg,
componentTesting: true,
}
}

createServer (testingType: Cypress.TestingType) {
return testingType === 'e2e'
? new ServerE2E() as TServer
Expand Down Expand Up @@ -444,10 +435,6 @@ export class ProjectBase<TServer extends Server> extends EE {
testingType: this.testingType,
} as Cfg // ?? types are definitely wrong here I think

theCfg = this.testingType === 'e2e'
? theCfg
: this.injectCtSpecificConfig(theCfg)

if (theCfg.isTextTerminal) {
this._cfg = theCfg

Expand Down Expand Up @@ -511,7 +498,6 @@ export class ProjectBase<TServer extends Server> extends EE {
}

// These methods are not related to start server/sockets/runners

async getProjectId () {
return getCtx().lifecycleManager.getProjectId()
}
Expand Down
183 changes: 0 additions & 183 deletions packages/server/lib/scaffold.js

This file was deleted.

Loading

3 comments on commit 8547f61

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 8547f61 Oct 31, 2022

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.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.11.1/linux-x64/develop-8547f61029108c005901f9b04a0a41a1e514f245/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 8547f61 Oct 31, 2022

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.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.11.1/darwin-x64/develop-8547f61029108c005901f9b04a0a41a1e514f245/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 8547f61 Oct 31, 2022

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 arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.11.1/darwin-arm64/develop-8547f61029108c005901f9b04a0a41a1e514f245/cypress.tgz

Please sign in to comment.