mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-20 22:52:29 +02:00
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>
9 lines
260 B
TypeScript
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);
|
|
});
|