Skip to content

Commit

Permalink
added clarifying comments to test fakes
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-w-nick committed Dec 19, 2024
1 parent 2bd18a7 commit 8fb1fcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions langchain-core/src/structured_query/tests/functional.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ describe("FunctionalTranslator", () => {
}),
],
[Comparators.gte]: [
// test for greater than
new Document({
pageContent: "",
metadata: {
Expand All @@ -94,6 +95,7 @@ describe("FunctionalTranslator", () => {
booleanValue: true,
},
}),
// test for equal to
new Document({
pageContent: "",
metadata: {
Expand All @@ -114,6 +116,7 @@ describe("FunctionalTranslator", () => {
}),
],
[Comparators.lte]: [
// test for less than
new Document({
pageContent: "",
metadata: {
Expand All @@ -122,6 +125,7 @@ describe("FunctionalTranslator", () => {
booleanValue: true,
},
}),
// test for equal to
new Document({
pageContent: "",
metadata: {
Expand Down

0 comments on commit 8fb1fcd

Please sign in to comment.