@@ -99,7 +99,7 @@ describe('package project-type scaffolder', () => {
99
99
100
100
it ( 'should scaffold details specific to an esm-only package' , async ( ) => {
101
101
const dialect = dialects . ESM ;
102
- when ( scaffoldPublishable ) . calledWith ( { packageName, visibility } ) . mockReturnValue ( publishableResults ) ;
102
+ when ( scaffoldPublishable ) . calledWith ( { packageName, packageAccessLevel } ) . mockReturnValue ( publishableResults ) ;
103
103
when ( buildDetails . default ) . calledWith ( {
104
104
projectRoot,
105
105
projectName,
@@ -142,7 +142,7 @@ describe('package project-type scaffolder', () => {
142
142
143
143
it ( 'should scaffold details specific to a typescript package' , async ( ) => {
144
144
const dialect = dialects . TYPESCRIPT ;
145
- when ( scaffoldPublishable ) . calledWith ( { packageName, visibility } ) . mockReturnValue ( publishableResults ) ;
145
+ when ( scaffoldPublishable ) . calledWith ( { packageName, packageAccessLevel } ) . mockReturnValue ( publishableResults ) ;
146
146
when ( buildDetails . default ) . calledWith ( {
147
147
projectRoot,
148
148
projectName,
@@ -191,7 +191,7 @@ describe('package project-type scaffolder', () => {
191
191
192
192
it ( 'should not include build details when the project will not be scaffolded' , async ( ) => {
193
193
const dialect = dialects . COMMON_JS ;
194
- when ( scaffoldPublishable ) . calledWith ( { packageName, visibility } ) . mockReturnValue ( publishableResults ) ;
194
+ when ( scaffoldPublishable ) . calledWith ( { packageName, packageAccessLevel } ) . mockReturnValue ( publishableResults ) ;
195
195
when ( buildDetails . default ) . calledWith ( {
196
196
projectRoot,
197
197
projectName,
@@ -233,6 +233,7 @@ describe('package project-type scaffolder', () => {
233
233
it ( 'should define the registry to publish to when provided' , async ( ) => {
234
234
const publishRegistry = any . url ( ) ;
235
235
const dialect = dialects . BABEL ;
236
+ when ( scaffoldPublishable ) . calledWith ( { packageName, packageAccessLevel} ) . mockReturnValue ( publishableResults ) ;
236
237
when ( buildDetails . default ) . calledWith ( {
237
238
projectRoot,
238
239
projectName,
0 commit comments