@@ -44,6 +44,7 @@ test('It should return all rocket info', async () => {
4444 } ) ;
4545 expect ( item ) . toHaveProperty ( 'first_stage' , customMatchers . vehicleStage ( ) ) ;
4646 expect ( item ) . toHaveProperty ( 'second_stage' , customMatchers . vehicleStage ( ) ) ;
47+ expect ( item ) . toHaveProperty ( 'flickr_images' ) ;
4748 expect ( item ) . toHaveProperty ( 'wikipedia' , expect . any ( String ) ) ;
4849 expect ( item ) . toHaveProperty ( 'description' , expect . any ( String ) ) ;
4950 } ) ;
@@ -59,6 +60,7 @@ test('It should return Falcon 1 info', async () => {
5960 expect ( response . body ) . toHaveProperty ( 'first_flight' , '2006-03-24' ) ;
6061 expect ( response . body ) . toHaveProperty ( 'country' ) ;
6162 expect ( response . body ) . toHaveProperty ( 'company' , 'SpaceX' ) ;
63+ expect ( response . body ) . toHaveProperty ( 'flickr_images' ) ;
6264 expect ( response . body ) . toHaveProperty ( 'wikipedia' ) ;
6365 expect ( response . body ) . toHaveProperty ( 'description' ) ;
6466} ) ;
@@ -73,6 +75,7 @@ test('It should return Falcon Heavy info', async () => {
7375 expect ( response . body ) . toHaveProperty ( 'first_flight' ) ;
7476 expect ( response . body ) . toHaveProperty ( 'country' ) ;
7577 expect ( response . body ) . toHaveProperty ( 'company' , 'SpaceX' ) ;
78+ expect ( response . body ) . toHaveProperty ( 'flickr_images' ) ;
7679 expect ( response . body ) . toHaveProperty ( 'wikipedia' ) ;
7780 expect ( response . body ) . toHaveProperty ( 'description' ) ;
7881} ) ;
0 commit comments