mirror of
https://github.com/iamlukethedev/Claw3D.git
synced 2026-07-30 19:22:28 +00:00
14 lines
330 B
TypeScript
14 lines
330 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
|
|
import { buildAgentInstruction } from "@/lib/text/message-extract";
|
|
|
|
describe("buildAgentInstruction", () => {
|
|
it("returns trimmed message text", () => {
|
|
const message = buildAgentInstruction({
|
|
message: "Ship it",
|
|
});
|
|
|
|
expect(message).toBe("Ship it");
|
|
});
|
|
});
|