File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ describe('rest create', () => {
201
201
expect ( r . get ( 'username' ) ) . toEqual ( 'hello' ) ;
202
202
done ( ) ;
203
203
} ) . catch ( ( err ) => {
204
- fail ( 'should not fail' )
204
+ jfail ( err ) ;
205
205
done ( ) ;
206
206
} )
207
207
} ) ;
@@ -257,7 +257,10 @@ describe('rest create', () => {
257
257
var output = response . results [ 0 ] ;
258
258
expect ( output . user . objectId ) . toEqual ( newUserSignedUpByFacebookObjectId ) ;
259
259
done ( ) ;
260
- } ) ;
260
+ } ) . catch ( err => {
261
+ jfail ( err ) ;
262
+ done ( ) ;
263
+ } )
261
264
} ) ;
262
265
263
266
it ( 'stores pointers' , done => {
@@ -376,6 +379,9 @@ describe('rest create', () => {
376
379
expect ( actual . getHours ( ) ) . toEqual ( expected . getHours ( ) ) ;
377
380
expect ( actual . getMinutes ( ) ) . toEqual ( expected . getMinutes ( ) ) ;
378
381
382
+ done ( ) ;
383
+ } ) . catch ( err => {
384
+ jfail ( err ) ;
379
385
done ( ) ;
380
386
} ) ;
381
387
} ) ;
You can’t perform that action at this time.
0 commit comments