Skip to content

Commit 915a1b4

Browse files
committed
update tests that relied on prev behavior
1 parent efc0f61 commit 915a1b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/test/awsService/ec2/activation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('ec2 activation', function () {
1919
const testPartition = 'test-partition'
2020
// Don't want to be polling here, that is tested in ../ec2ParentNode.test.ts
2121
// disabled here for convenience (avoiding race conditions with timeout)
22-
sinon.stub(PollingSet.prototype, 'start')
22+
sinon.stub(PollingSet.prototype, 'add')
2323
const testClient = new Ec2Client(testRegion)
2424
const parentNode = new Ec2ParentNode(testRegion, testPartition, new Ec2Client(testRegion))
2525
testNode = new Ec2InstanceNode(parentNode, testClient, testRegion, testPartition, {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('ec2InstanceNode', function () {
3535
sinon.stub(Ec2InstanceNode.prototype, 'updateStatus')
3636
// Don't want to be polling here, that is tested in ../ec2ParentNode.test.ts
3737
// disabled here for convenience (avoiding race conditions with timeout)
38-
sinon.stub(PollingSet.prototype, 'start')
38+
sinon.stub(PollingSet.prototype, 'add')
3939
const testClient = new Ec2Client('')
4040
const testParentNode = new Ec2ParentNode(testRegion, testPartition, testClient)
4141
testNode = new Ec2InstanceNode(testParentNode, testClient, 'testRegion', 'testPartition', testInstance)

0 commit comments

Comments
 (0)