@@ -317,15 +317,15 @@ describe(RushConfiguration.name, () => {
317317 } ) ;
318318
319319 it ( 'accepts publishTarget as a string and normalizes to array' , ( ) => {
320- const rushFilename : string = path . resolve ( __dirname , 'repo' , 'rush-pnpm- publishtarget-string.json' ) ;
320+ const rushFilename : string = path . resolve ( __dirname , 'repo' , 'rush-publishtarget-string.json' ) ;
321321 const rushConfiguration : RushConfiguration = RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
322322 expect ( rushConfiguration . projects ) . toHaveLength ( 1 ) ;
323323 const project1 : RushConfigurationProject = rushConfiguration . getProjectByName ( 'project1' ) ! ;
324324 expect ( project1 . publishTargets ) . toEqual ( [ 'vsix' ] ) ;
325325 } ) ;
326326
327327 it ( 'accepts publishTarget as an array of strings' , ( ) => {
328- const rushFilename : string = path . resolve ( __dirname , 'repo' , 'rush-pnpm- publishtarget-array.json' ) ;
328+ const rushFilename : string = path . resolve ( __dirname , 'repo' , 'rush-publishtarget-array.json' ) ;
329329 const rushConfiguration : RushConfiguration = RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
330330 expect ( rushConfiguration . projects ) . toHaveLength ( 1 ) ;
331331 const project1 : RushConfigurationProject = rushConfiguration . getProjectByName ( 'project1' ) ! ;
@@ -336,7 +336,7 @@ describe(RushConfiguration.name, () => {
336336 const rushFilename : string = path . resolve (
337337 __dirname ,
338338 'repo' ,
339- 'rush-pnpm- publishtarget-empty-array.json'
339+ 'rush-publishtarget-empty-array.json'
340340 ) ;
341341 expect ( ( ) => {
342342 RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
@@ -347,7 +347,7 @@ describe(RushConfiguration.name, () => {
347347 const rushFilename : string = path . resolve (
348348 __dirname ,
349349 'repo' ,
350- 'rush-pnpm- publishtarget-invalid-type.json'
350+ 'rush-publishtarget-invalid-type.json'
351351 ) ;
352352 expect ( ( ) => {
353353 RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
@@ -358,7 +358,7 @@ describe(RushConfiguration.name, () => {
358358 const rushFilename : string = path . resolve (
359359 __dirname ,
360360 'repo' ,
361- 'rush-pnpm- publishtarget-none-combined.json'
361+ 'rush-publishtarget-none-combined.json'
362362 ) ;
363363 expect ( ( ) => {
364364 const config : RushConfiguration = RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
@@ -368,7 +368,7 @@ describe(RushConfiguration.name, () => {
368368 } ) ;
369369
370370 it ( 'allows shouldPublish:true with private:true when publishTarget is "vsix"' , ( ) => {
371- const rushFilename : string = path . resolve ( __dirname , 'repo' , 'rush-pnpm- publishtarget-string.json' ) ;
371+ const rushFilename : string = path . resolve ( __dirname , 'repo' , 'rush-publishtarget-string.json' ) ;
372372 const rushConfiguration : RushConfiguration = RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
373373 // project1 has publishTarget: "vsix" - this should not throw even if package.json were private
374374 // (the test fixture project1 is not private, so this validates the code path doesn't throw for non-npm targets)
@@ -380,7 +380,7 @@ describe(RushConfiguration.name, () => {
380380 const rushFilename : string = path . resolve (
381381 __dirname ,
382382 'repo' ,
383- 'rush-pnpm- publishtarget-none-lockstep.json'
383+ 'rush-publishtarget-none-lockstep.json'
384384 ) ;
385385 expect ( ( ) => {
386386 const config : RushConfiguration = RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
@@ -392,7 +392,7 @@ describe(RushConfiguration.name, () => {
392392 const rushFilename : string = path . resolve (
393393 __dirname ,
394394 'repo' ,
395- 'rush-pnpm- publishtarget-none-individual.json'
395+ 'rush-publishtarget-none-individual.json'
396396 ) ;
397397 const rushConfiguration : RushConfiguration = RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
398398 const project1 : RushConfigurationProject = rushConfiguration . getProjectByName ( 'project1' ) ! ;
@@ -403,7 +403,7 @@ describe(RushConfiguration.name, () => {
403403 const rushFilename : string = path . resolve (
404404 __dirname ,
405405 'repo' ,
406- 'rush-pnpm- publishtarget-npm-private.json'
406+ 'rush-publishtarget-npm-private.json'
407407 ) ;
408408 expect ( ( ) => {
409409 const config : RushConfiguration = RushConfiguration . loadFromConfigurationFile ( rushFilename ) ;
0 commit comments