@@ -71,17 +71,16 @@ describe('project scaffolder', () => {
71
71
const year = any . word ( ) ;
72
72
const holder = any . sentence ( ) ;
73
73
const copyright = { year, holder} ;
74
- const overrides = { ...any . simpleObject ( ) , copyrightHolder : any . string ( ) } ;
75
74
const gitRepoShouldBeInitialized = true ;
76
75
const dependencyUpdaters = any . simpleObject ( ) ;
77
76
const gitNextSteps = any . listOf ( any . simpleObject ) ;
78
77
const dependencyUpdaterNextSteps = any . listOf ( any . simpleObject ) ;
79
78
const dependencyUpdaterContributionBadges = any . simpleObject ( ) ;
80
79
when ( optionsValidator . validate )
81
80
. calledWith ( options )
82
- . mockReturnValue ( { languages : languageScaffolders , overrides , vcsHosts, decisions, dependencyUpdaters} ) ;
81
+ . mockReturnValue ( { languages : languageScaffolders , vcsHosts, decisions, dependencyUpdaters} ) ;
83
82
when ( prompts . promptForBaseDetails )
84
- . calledWith ( projectPath , overrides . copyrightHolder , decisions )
83
+ . calledWith ( projectPath , decisions )
85
84
. mockResolvedValue ( {
86
85
[ coreQuestionNames . PROJECT_NAME ] : projectName ,
87
86
[ questionNames . GIT_REPO ] : gitRepoShouldBeInitialized ,
@@ -162,7 +161,7 @@ describe('project scaffolder', () => {
162
161
const gitRepoShouldBeInitialized = any . boolean ( ) ;
163
162
optionsValidator . validate . mockReturnValue ( { } ) ;
164
163
when ( prompts . promptForBaseDetails )
165
- . calledWith ( projectPath , undefined , undefined )
164
+ . calledWith ( projectPath , undefined )
166
165
. mockResolvedValue ( {
167
166
[ coreQuestionNames . PROJECT_NAME ] : projectName ,
168
167
[ questionNames . GIT_REPO ] : gitRepoShouldBeInitialized
0 commit comments