@@ -475,9 +475,9 @@ describe("CLI", () => {
475
475
cmdexec . execute ( command )
476
476
. done ( ( ) : void => {
477
477
sinon . assert . calledOnce ( addApp ) ;
478
- sinon . assert . calledOnce ( log ) ;
479
- sinon . assert . calledWithExactly ( log , "Successfully added the \"a\" app.\nUse \"code-push deployment add\" to add deployment(s) to the app. " ) ;
480
- // sinon.assert.calledOnce(deploymentList);
478
+ sinon . assert . calledTwice ( log ) ;
479
+ sinon . assert . calledWithExactly ( log , "Successfully added the \"a\" app, along with the following default deployments: " ) ;
480
+ sinon . assert . calledOnce ( deploymentList ) ;
481
481
done ( ) ;
482
482
} ) ;
483
483
} ) ;
@@ -612,7 +612,7 @@ describe("CLI", () => {
612
612
. done ( ( ) : void => {
613
613
sinon . assert . calledOnce ( addCollaborator ) ;
614
614
sinon . assert . calledOnce ( log ) ;
615
- sinon . assert . calledWithExactly ( log , "Successfully added \"b@b.com \" as a collaborator to the app \"a \"." ) ;
615
+ sinon . assert . calledWithExactly ( log , "Collaborator invitation email for \"a \" sent to \"b@b.com \"." ) ;
616
616
617
617
done ( ) ;
618
618
} ) ;
@@ -1394,7 +1394,7 @@ describe("CLI", () => {
1394
1394
done ( new Error ( "Did not throw error." ) ) ;
1395
1395
} )
1396
1396
. catch ( ( err ) => {
1397
- assert . equal ( err . message , "Platform must be either \"android\", \"ios\" or \"windows\"." ) ;
1397
+ assert . equal ( err . message , "Platform must be \"android\", \"ios\", or \"windows\"." ) ;
1398
1398
sinon . assert . notCalled ( release ) ;
1399
1399
sinon . assert . notCalled ( spawn ) ;
1400
1400
done ( ) ;
0 commit comments