Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: added initial test for fetchReason #23057

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,16 @@ describe("DocumentService", () => {
assert.equal(documentService.policies?.summarizeProtocolTree, true);
stubbedDeltaConnectionCreate.restore();
});

it.only("DocumentDeltaStorageService sends fetchReason along with fetchMessages", async () => {
Copy link
Preview

Copilot AI Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using 'it.only' will cause only this test to run, potentially skipping other tests. Remove 'only' to ensure all tests are executed.

Suggested change
it.only("DocumentDeltaStorageService sends fetchReason along with fetchMessages", async () => {
it("DocumentDeltaStorageService sends fetchReason along with fetchMessages", async () => {

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
const documentDeltaStorageService = documentService.connectToDeltaStorage();
const fetchedMesage = (await documentDeltaStorageService).fetchMessages(
0,
10,
undefined,
false,
"test",
);
console.log(fetchedMesage);
});
});
Loading