Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
assertions in e2e test
  • Loading branch information
mabaasit committed Dec 9, 2025
commit 3fc7998a964adc413f653ebef9e9431e3a24fb5c
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ describe('Collection ai query with chatbot (with mocked backend)', function () {
// enabling this feature.
expect(queryRequest.content.model).to.equal('mongodb-chat-latest');
expect(queryRequest.content.instructions).to.be.string;
expect(queryRequest.content.metadata).to.have.property('userId');
expect(queryRequest.content.metadata.store).to.have.equal('true');
expect(queryRequest.content.metadata.sensitiveStorage).to.have.equal(
'sensitive'
);
expect(queryRequest.content.input).to.be.an('array').of.length(1);

const message = queryRequest.content.input[0];
Expand Down