From d538d8b4526311f89537a463a7267e5e43f44ffe Mon Sep 17 00:00:00 2001 From: nick-w-nick <43578531+nick-w-nick@users.noreply.github.com> Date: Thu, 19 Dec 2024 01:12:57 -0500 Subject: [PATCH] lint fixes --- langchain-core/src/structured_query/tests/functional.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/langchain-core/src/structured_query/tests/functional.test.ts b/langchain-core/src/structured_query/tests/functional.test.ts index fffe2a901c7a..a66507220b57 100644 --- a/langchain-core/src/structured_query/tests/functional.test.ts +++ b/langchain-core/src/structured_query/tests/functional.test.ts @@ -1,3 +1,4 @@ +import { test, expect } from "@jest/globals"; import { Document } from "../../documents/document.js"; import { FunctionalTranslator } from "../functional.js"; import { Comparators, Visitor } from "../ir.js"; @@ -53,7 +54,7 @@ describe("FunctionalTranslator", () => { boolean: true, }; - const validDocumentsByComparator: { [key in string]: Document>[] } = { + const validDocumentsByComparator: { [key in string]: Document>[] } = { [Comparators.eq]: [ new Document({ pageContent: "", @@ -132,7 +133,7 @@ describe("FunctionalTranslator", () => { ], }; - const invalidDocumentsByComparator: { [key in string]: Document>[] } = { + const invalidDocumentsByComparator: { [key in string]: Document>[] } = { [Comparators.eq]: [ new Document({ pageContent: "",