Skip to content

Commit 27d90ec

Browse files
committed
Removed flight number expectation for upcoming flights
1 parent d6b0a65 commit 27d90ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/routes/v2-launches.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ test('It should return a specific Launch info', async () => {
103103
expect(item.rocket.first_stage.cores.length).toBeGreaterThan(0);
104104
item.rocket.first_stage.cores.forEach((core) => {
105105
expect(core).toHaveProperty('core_serial');
106-
expect(core).toHaveProperty('flight', expect.any(Number));
106+
expect(core).toHaveProperty('flight');
107107
expect(core).toHaveProperty('block');
108108
expect(core).toHaveProperty('reused');
109109
expect(core).toHaveProperty('land_success');

0 commit comments

Comments
 (0)