Skip to content

Commit 12fc4d6

Browse files
committed
add clone manually
1 parent fffd3b2 commit 12fc4d6

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

packages/core/src/test/shared/clients/ec2Client.test.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,35 @@ const completeReservationsList: EC2.ReservationList = [
4747
},
4848
]
4949

50+
const completeReservationsList2: EC2.ReservationList = [
51+
{
52+
Instances: [
53+
{
54+
InstanceId: 'running-1',
55+
Tags: [{ Key: 'Name', Value: 'name1' }],
56+
},
57+
{
58+
InstanceId: 'stopped-2',
59+
Tags: [{ Key: 'Name', Value: 'name2' }],
60+
},
61+
],
62+
},
63+
{
64+
Instances: [
65+
{
66+
InstanceId: 'pending-3',
67+
Tags: [{ Key: 'Name', Value: 'name3' }],
68+
},
69+
{
70+
InstanceId: 'running-4',
71+
Tags: [{ Key: 'Name', Value: 'name4' }],
72+
},
73+
],
74+
},
75+
]
76+
77+
completeReservationsList2.every(Boolean)
78+
5079
const completeInstanceList: EC2.InstanceList = [
5180
{ InstanceId: 'running-1', Tags: [{ Key: 'Name', Value: 'name1' }] },
5281
{ InstanceId: 'stopped-2', Tags: [{ Key: 'Name', Value: 'name2' }] },

0 commit comments

Comments
 (0)