diff --git a/packages/amazonq/test/unit/amazonqFeatureDev/session/session.test.ts b/packages/amazonq/test/unit/amazonqFeatureDev/session/session.test.ts index 1d1f0bcd835..b79f0c4bf4f 100644 --- a/packages/amazonq/test/unit/amazonqFeatureDev/session/session.test.ts +++ b/packages/amazonq/test/unit/amazonqFeatureDev/session/session.test.ts @@ -109,6 +109,7 @@ describe('session', () => { it('only insert non rejected files', async () => { const fsSpyWriteFile = sinon.spy(fs, 'writeFile') const session = await createCodeGenState() + sinon.stub(session, 'sendLinesOfCodeAcceptedTelemetry').resolves() await sessionWriteFile(session, uri, encodedContent) await session.insertChanges()