We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 785fd31 commit 9f8f5a3Copy full SHA for 9f8f5a3
packages/core/src/test/awsService/ec2/utils.test.ts
@@ -28,9 +28,14 @@ describe('utils', async function () {
28
InstanceId: 'XX',
29
LastSeenStatus: 'stopped',
30
}
31
+ const terminatedInstance: SafeEc2Instance = {
32
+ InstanceId: 'XXX',
33
+ LastSeenStatus: 'terminated',
34
+ }
35
36
assert.strictEqual(getIconCode(runningInstance), 'pass')
37
assert.strictEqual(getIconCode(stoppedInstance), 'circle-slash')
38
+ assert.strictEqual(getIconCode(terminatedInstance), 'stop')
39
})
40
41
it('defaults to loading~spin', function () {
0 commit comments