This commit is contained in:
jacoblee93
2024-09-18 22:47:28 -07:00
parent 6debfa89a7
commit 318232fed4
+4
View File
@@ -2,6 +2,10 @@ import { describe, it, expect } from "@jest/globals";
import { graph } from "../src/enrichment_agent/graph.js";
describe("Web Research Agent", () => {
beforeAll(() => {
process.env.TAVILY_API_KEY = "dummy";
});
it("should initialize and compile the graph", () => {
expect(graph).toBeDefined();
expect(graph.name).toBe("ResearchTopic");