You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should emit generation telemetry for initial README generation',async()=>{
awaitperformAction('generate',getSessionStub)
constexpectedEvent=createExpectedEvent({
type: 'generation',
...EventMetrics.INITIAL_README,
interactionType: 'GENERATE_README',
conversationId: conversationID,
})
awaitassertTelemetry({
spy: sendDocTelemetrySpy,
expectedEvent,
type: 'generation',
})
})
Log of Test Failure
1) Controller - Doc Generation
should emit generation telemetry for initial README generation:
AssertError: expected sendDocTelemetryEvent to be called with arguments
at Object.fail (D:\a\aws-toolkit-vscode\aws-toolkit-vscode\node_modules\sinon\lib\sinon\assert.js:120:25)
at failAssertion (D:\a\aws-toolkit-vscode\aws-toolkit-vscode\node_modules\sinon\lib\sinon\assert.js:66:20)
at Object.assert.<computed> [as calledWith] (D:\a\aws-toolkit-vscode\aws-toolkit-vscode\node_modules\sinon\lib\sinon\assert.js:95:17)
at assertTelemetry (D:\a\aws-toolkit-vscode\aws-toolkit-vscode\packages\core\src\test\amazonqDoc\utils.ts:205:18)
at async Context.<anonymous> (D:\a\aws-toolkit-vscode\aws-toolkit-vscode\packages\core\src\test\amazonqDoc\controller.test.ts:175:9)
Test Details
should emit generation telemetry for initial README generation:
aws-toolkit-vscode/packages/core/src/test/amazonqDoc/controller.test.ts
Lines 165 to 180 in 100eb07
Log of Test Failure
Additional Information
Appears to be introduced in #6427
The text was updated successfully, but these errors were encountered: