@@ -61,7 +61,8 @@ describe('package:pushupgrade:list - tests', () => {
6161 } ) ;
6262
6363 it ( 'should list the push upgrade requests' , async ( ) => {
64- const cmd = new PackagePushRequestListCommand ( [ '-v' , testOrg . username ] , config ) ;
64+ const packageId = 'dummyPackageId' ;
65+ const cmd = new PackagePushRequestListCommand ( [ '-v' , testOrg . username , '--package' , packageId ] , config ) ;
6566 // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
6667 listStub . resolves ( pushUpgradeListSuccess ) ;
6768 // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
@@ -83,7 +84,8 @@ describe('package:pushupgrade:list - tests', () => {
8384 } ) ;
8485
8586 it ( 'should handle no results found' , async ( ) => {
86- const cmd = new PackagePushRequestListCommand ( [ '-v' , testOrg . username ] , config ) ;
87+ const packageId = 'dummyPackageId' ;
88+ const cmd = new PackagePushRequestListCommand ( [ '-v' , testOrg . username , '--package' , packageId ] , config ) ;
8789 // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
8890 listStub . resolves ( [ ] ) ;
8991
@@ -95,7 +97,7 @@ describe('package:pushupgrade:list - tests', () => {
9597
9698 it ( 'should filter by is-migration flag' , async ( ) => {
9799 const packageId = '033XXXXXXXXXXXXXXX' ;
98- const cmdArgs = [ '--target-dev-hub' , testOrg . username , '--package' , packageId , '--is-migration ' ] ;
100+ const cmdArgs = [ '--target-dev-hub' , testOrg . username , '--package' , packageId , '--show-push-migrations-only ' ] ;
99101 const cmd = new PackagePushRequestListCommand ( cmdArgs , config ) ;
100102
101103 listStub . resolves ( pushUpgradeListSuccess ) ;
0 commit comments