feat: EC2 UI polished + storage persisting
This commit is contained in:
@@ -112,12 +112,16 @@ describe('AwsComputeAdapter', () => {
|
||||
keyName: 'my-key',
|
||||
subnetId: 'subnet-abc',
|
||||
securityGroupIds: 'sg-111, sg-222',
|
||||
rootVolumeSize: '30',
|
||||
rootVolumeType: 'gp3',
|
||||
}})
|
||||
expect(launched).toHaveLength(1)
|
||||
expect(launched[0].name).toBe('test-box')
|
||||
expect(launched[0].imageId).toBe('ami-0abcdef123')
|
||||
expect(launched[0].instanceType).toBe('t3.micro')
|
||||
expect(launched[0].securityGroupIds).toEqual(['sg-111', 'sg-222'])
|
||||
expect(launched[0].rootVolumeSize).toBe(30)
|
||||
expect(launched[0].rootVolumeType).toBe('gp3')
|
||||
expect(result.type).toBe('instance')
|
||||
expect(result.cloud).toBe('aws')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user