@@ -183,7 +183,7 @@ describe('RushCommandLineParser', () => {
183183 } ) ;
184184
185185 describe ( `'rebuild' action` , ( ) => {
186- it ( `executes the package's 'rebuild' (not ' build') script` , ( ) => {
186+ it ( `executes the package's 'build' script` , ( ) => {
187187 const repoName : string = 'overrideRebuildAndRunRebuildActionRepo' ;
188188 const instance : IParserTestInstance = getCommandLineParserInstance ( repoName , 'rebuild' ) ;
189189
@@ -195,7 +195,7 @@ describe('RushCommandLineParser', () => {
195195 expect ( packageCount ) . toEqual ( 2 ) ;
196196
197197 // Use regex for task name in case spaces were prepended or appended to spawned command
198- const expectedBuildTaskRegexp : RegExp = / f a k e _ R E b u i l d _ t a s k _ b u t _ w o r k s _ w i t h _ m o c k / ;
198+ const expectedBuildTaskRegexp : RegExp = / f a k e _ b u i l d _ t a s k _ b u t _ w o r k s _ w i t h _ m o c k / ;
199199
200200 // eslint-disable-next-line @typescript-eslint/no-explicit-any
201201 const firstSpawn : any [ ] = instance . spawnMock . mock . calls [ 0 ] ;
@@ -252,7 +252,7 @@ describe('RushCommandLineParser', () => {
252252 } ) ;
253253
254254 describe ( `'rebuild' action` , ( ) => {
255- it ( `executes the package's 'rebuild' (not ' build') script` , ( ) => {
255+ it ( `executes the package's 'build' script` , ( ) => {
256256 const repoName : string = 'overrideAndDefaultRebuildActionRepo' ;
257257 const instance : IParserTestInstance = getCommandLineParserInstance ( repoName , 'rebuild' ) ;
258258 expect . assertions ( 8 ) ;
@@ -263,7 +263,7 @@ describe('RushCommandLineParser', () => {
263263 expect ( packageCount ) . toEqual ( 2 ) ;
264264
265265 // Use regex for task name in case spaces were prepended or appended to spawned command
266- const expectedBuildTaskRegexp : RegExp = / f a k e _ R E b u i l d _ t a s k _ b u t _ w o r k s _ w i t h _ m o c k / ;
266+ const expectedBuildTaskRegexp : RegExp = / f a k e _ b u i l d _ t a s k _ b u t _ w o r k s _ w i t h _ m o c k / ;
267267
268268 // eslint-disable-next-line @typescript-eslint/no-explicit-any
269269 const firstSpawn : any [ ] = instance . spawnMock . mock . calls [ 0 ] ;
0 commit comments