Files
langgraph/libs/cli/js-examples/tests/agent.test.ts
T
74c8589045 Add support for Docker arg passthrough in langgraph CLI (#2206)
Added a js-example to show it builds
Adapted integration tests after removing the test CLI command

---------

Co-authored-by: Nuno Campos <nuno@langchain.dev>
2024-10-29 22:33:40 -07:00

9 lines
260 B
TypeScript

import { describe, it, expect } from "@jest/globals";
import { route } from "../src/agent/graph.js";
describe("Routers", () => {
it("Test route", async () => {
const res = route({ messages: [] });
expect(res).toEqual("callModel");
}, 100_000);
});