mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-25 08:28:45 -05:00
feat: detect component testing env (#20002)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com> Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
This commit is contained in:
committed by
GitHub
parent
22c1683f3c
commit
759449c440
@@ -66,6 +66,9 @@ export interface WizardDataShape {
|
||||
chosenFramework: NexusGenEnums['FrontendFrameworkEnum'] | null
|
||||
chosenLanguage: NexusGenEnums['CodeLanguageEnum']
|
||||
chosenManualInstall: boolean
|
||||
detectedLanguage: NexusGenEnums['CodeLanguageEnum'] | null
|
||||
detectedBundler: NexusGenEnums['SupportedBundlers'] | null
|
||||
detectedFramework: NexusGenEnums['FrontendFrameworkEnum'] | null
|
||||
}
|
||||
|
||||
export interface MigrationDataShape{
|
||||
@@ -158,6 +161,9 @@ export function makeCoreData (modeOptions: Partial<AllModeOptions> = {}): CoreDa
|
||||
chosenLanguage: 'js',
|
||||
chosenManualInstall: false,
|
||||
allBundlers: BUNDLERS,
|
||||
detectedBundler: null,
|
||||
detectedFramework: null,
|
||||
detectedLanguage: null,
|
||||
},
|
||||
migration: {
|
||||
step: 'renameAuto',
|
||||
|
||||
Reference in New Issue
Block a user