Skip to content

Commit ab1056d

Browse files
committed
avoid undefined var
1 parent b2e24aa commit ab1056d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/test/awsService/ec2/explorer/ec2ParentNode.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ describe('ec2ParentNode', function () {
2424
let getInstanceStub: sinon.SinonStub<[filters?: EC2.Filter[] | undefined], Promise<AsyncCollection<EC2.Instance>>>
2525
let clock: FakeTimers.InstalledClock
2626
let refreshStub: sinon.SinonStub<[], Promise<void>>
27-
let updateStatusStub: sinon.SinonStub<[], Promise<void>>
2827
const testRegion = 'testRegion'
2928
const testPartition = 'testPartition'
3029

@@ -42,7 +41,7 @@ describe('ec2ParentNode', function () {
4241
client = new Ec2Client(testRegion)
4342
clock = installFakeClock()
4443
refreshStub = sinon.stub(Ec2InstanceNode.prototype, 'refreshNode')
45-
updateStatusStub = sinon.stub(Ec2InstanceNode.prototype, 'updateStatus')
44+
sinon.stub(Ec2InstanceNode.prototype, 'updateStatus')
4645
})
4746

4847
beforeEach(function () {

0 commit comments

Comments
 (0)