@@ -31,15 +31,15 @@ describe("API: .notify() - Public Notify Method", function () {
3131
3232 it ( "should emit the browser:notify event" , function ( ) {
3333 browserSync . notify ( "HI" ) ;
34- sinon . assert . calledWithExactly ( emitterStub , "browser:notify" , { message : "HI" , timeout : 2000 } ) ;
34+ sinon . assert . calledWithExactly ( emitterStub , "browser:notify" , { message : "HI" , timeout : 2000 , override : true } ) ;
3535 } ) ;
3636 it ( "should emit the browser:notify event (2)" , function ( ) {
3737 browserSync . notify ( "HI There" ) ;
38- sinon . assert . calledWithExactly ( emitterStub , "browser:notify" , { message : "HI There" , timeout : 2000 } ) ;
38+ sinon . assert . calledWithExactly ( emitterStub , "browser:notify" , { message : "HI There" , timeout : 2000 , override : true } ) ;
3939 } ) ;
4040 it ( "should emit the browser:notify event with a timeout" , function ( ) {
4141 browserSync . notify ( "HI There" , 3000 ) ;
42- sinon . assert . calledWithExactly ( emitterStub , "browser:notify" , { message : "HI There" , timeout : 3000 } ) ;
42+ sinon . assert . calledWithExactly ( emitterStub , "browser:notify" , { message : "HI There" , timeout : 3000 , override : true } ) ;
4343 } ) ;
4444 it ( "should NOT emit the browser:notify event if a message was not provided" , function ( ) {
4545 browserSync . notify ( ) ;
0 commit comments