File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ describe('Backendless.Events', function() {
77 sandbox . forSuite ( )
88
99 it ( 'dispatch event with event arguments' , function ( ) {
10- expect ( Backendless . Events . dispatch ( 'customEvent' , { } ) ) . to . eventually . be . empty
10+ return expect ( Backendless . Events . dispatch ( 'customEvent' , { } ) ) . to . eventually . be . empty
1111 } )
1212
1313 it ( 'dispatch event without event arguments' , function ( ) {
14- expect ( Backendless . Events . dispatch ( 'customEvent' ) ) . to . eventually . be . empty
14+ return expect ( Backendless . Events . dispatch ( 'customEvent' ) ) . to . eventually . be . empty
1515 } )
1616
1717 it ( 'dispatch event without event name' , function ( ) {
18- expect ( Backendless . Events . dispatch ( ) ) . to . eventually . be
18+ return expect ( Backendless . Events . dispatch ( ) ) . to . eventually . be
1919 . rejectedWith ( Error , 'Event Name must be provided and must be not an empty STRING!' )
2020 } )
2121
You can’t perform that action at this time.
0 commit comments