Skip to content

Commit

Permalink
assert stricter
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Dec 6, 2024
1 parent 647ced6 commit 32a4c52
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/test/suite/participant/participant.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1660,9 +1660,11 @@ Schema:
expect(fetchStub).to.have.been.called;
expect(sendRequestStub).to.have.not.been.called;

expect(telemetryTrackStub.firstCall.firstArg).to.equal(
'Participant Prompt Submitted'
);
assertCommandTelemetry('docs', chatRequestMock, {
expectSampleDocs: false,
callIndex: 0,
expectedInternalPurpose: undefined,
});

assertResponseTelemetry('docs/chatbot', {
callIndex: 1,
Expand Down

0 comments on commit 32a4c52

Please sign in to comment.