This repository was archived by the owner on Oct 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ describe('P2P JS SDK', function () {
3030 }
3131 }
3232 }
33+ deferred . reject ( ) ;
3334 } , timeout ) ;
3435 var interval = setInterval ( function ( ) {
3536 if ( latch . call ( latch ) ) {
@@ -1123,7 +1124,7 @@ describe('P2P JS SDK', function () {
11231124 var actorUser1_data = undefined ;
11241125 var actorUser2_datasender = undefined ;
11251126 var actorUser2_data = undefined ;
1126-
1127+
11271128 afterEach ( function ( ) {
11281129 Q ( 'afterEach' )
11291130 . then ( function ( ) {
@@ -1300,7 +1301,7 @@ describe('P2P JS SDK', function () {
13001301 return waitsFor ( function ( ) {
13011302 //check action
13021303 return actorUser2 . request [ "publish_success" ] === 1 ;
1303- } , userName2 + "check action: publish" , waitInterval )
1304+ } , undefined , waitInterval )
13041305 } )
13051306 . then ( function ( ) {
13061307 return waitsFor ( function ( ) {
@@ -1318,6 +1319,8 @@ describe('P2P JS SDK', function () {
13181319 //wait lock
13191320 return detection === true ;
13201321 } , userName1 + " remote stream is good" , waitInterval )
1322+ } ) . catch ( function ( ) {
1323+ console . log ( 'catch error' ) ;
13211324 } )
13221325 . then ( function ( ) {
13231326 console . log ( 'test end' ) ;
You can’t perform that action at this time.
0 commit comments