Skip to content

Commit 7bfd17a

Browse files
committed
Pass all the test
1 parent d0419f4 commit 7bfd17a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/tests/Rocket.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ test('Rocket component renders correctly', () => {
1111
const mockRocket = {
1212
id: '5e9d0d95eda69955f709d1eb',
1313
name: 'Falcon 1',
14+
type: 'rocket',
1415
description: 'Description 1',
1516
flickr_images: ['https://imgur.com/DaCfMsj.jpg'],
1617
reserved: false,

src/tests/Rockets.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,18 @@ test('RocketsComponent renders correctly', () => {
1515
{
1616
id: '5e9d0d95eda69955f709d1eb',
1717
name: 'Falcon 1',
18+
type: 'rocket',
1819
description: 'Description 1',
1920
flickr_images: ['https://imgur.com/DaCfMsj.jpg'],
21+
reserved: false,
2022
},
2123
{
2224
id: '5e9d0d95eda69973a809d1ec',
2325
name: 'Falcon 9',
26+
type: 'rocket',
2427
description: 'Description 2',
2528
flickr_images: ['https://farm1.staticflickr.com/929/28787338307_3453a11a77_b.jpg'],
29+
reserved: false,
2630
},
2731
],
2832
loading: false,

0 commit comments

Comments
 (0)