@@ -39,7 +39,7 @@ describe("AngularFireAuth Test Suite", function() {
39
39
$timeout . flush ( ) ;
40
40
} catch ( err ) { }
41
41
return eventsToComplete == 0 ;
42
- } , message , timeout ? timeout : 100 ) ;
42
+ } , message , timeout ? timeout : 2000 ) ;
43
43
}
44
44
}
45
45
@@ -87,7 +87,7 @@ describe("AngularFireAuth Test Suite", function() {
87
87
off ( ) ;
88
88
} ) ;
89
89
90
- waiter . wait ( "email login failure" , 1000 ) ;
90
+ waiter . wait ( "email login failure" ) ;
91
91
} ) ;
92
92
93
93
//Ensure that getUserInfo gives us a null if we're logged out.
@@ -179,7 +179,7 @@ describe("AngularFireAuth Test Suite", function() {
179
179
} ) ;
180
180
} ) ;
181
181
182
- waiter . wait ( "email login success" , 1000 ) ;
182
+ waiter . wait ( "email login success" ) ;
183
183
} ) ;
184
184
185
185
it ( "getCurrentUser for logged-in state" , function ( ) {
@@ -213,7 +213,7 @@ describe("AngularFireAuth Test Suite", function() {
213
213
off ( ) ;
214
214
} ) ;
215
215
216
- waiter . wait ( "get user info after logout" , 1000 ) ;
216
+ waiter . wait ( "get user info after logout" ) ;
217
217
} ) ;
218
218
219
219
//Ensure we properly handle errors on account creation.
@@ -234,7 +234,7 @@ describe("AngularFireAuth Test Suite", function() {
234
234
off ( ) ;
235
235
} ) ;
236
236
237
- waiter . wait ( "failed account creation" , 1000 ) ;
237
+ waiter . wait ( "failed account creation" ) ;
238
238
} ) ;
239
239
240
240
//Test account creation.
@@ -257,7 +257,7 @@ describe("AngularFireAuth Test Suite", function() {
257
257
waiter . done ( "getuser" ) ;
258
258
} ) ;
259
259
260
- waiter . wait ( "account creation with noLogin" , 2000 ) ;
260
+ waiter . wait ( "account creation with noLogin" , 1600 ) ;
261
261
} ) ;
262
262
263
263
//Test logging into newly created user.
@@ -348,7 +348,7 @@ describe("AngularFireAuth Test Suite", function() {
348
348
expect ( true ) . toBe ( false ) ; //die
349
349
} ) ;
350
350
351
- waiter . wait ( "removeuser fail and success" , 1000 ) ;
351
+ waiter . wait ( "removeuser fail and success" ) ;
352
352
} ) ;
353
353
354
354
it ( "Email: reset password" , function ( ) {
@@ -367,6 +367,6 @@ describe("AngularFireAuth Test Suite", function() {
367
367
expect ( true ) . toBe ( false ) ;
368
368
} ) ;
369
369
370
- waiter . wait ( "resetpassword fail and success" , 1000 ) ;
370
+ waiter . wait ( "resetpassword fail and success" ) ;
371
371
} ) ;
372
- } ) ;
372
+ } ) ;
0 commit comments