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 6f649f4 commit 897d6fdCopy full SHA for 897d6fd
src/test/ec2/model.test.ts
@@ -159,7 +159,10 @@ describe('Ec2ConnectClient', function () {
159
describe('sendSshKeysToInstance', async function () {
160
it('calls the sdk with the proper parameters', async function () {
161
const sendCommandStub = sinon.stub(SsmClient.prototype, 'sendCommandAndWait')
162
+
163
sinon.stub(SshKeyPair, 'generateSshKeyPair')
164
+ sinon.stub(SshKeyPair.prototype, 'getPublicKey').resolves('test-key')
165
166
const testSelection = {
167
instanceId: 'test-id',
168
region: 'test-region',
0 commit comments