92ec2550d2
- Moved test files from src/core to test/core directory. - Moved test files from src/core/tools to test/tools directory. - Moved test files from src/discovery to test/discovery directory. - Updated import paths to reflect new test file locations.
18 lines
513 B
TypeScript
18 lines
513 B
TypeScript
import { describe, expect, it } from "bun:test";
|
|
import { buildSystemPrompt } from "../../src/core/system-prompt";
|
|
|
|
describe("buildSystemPrompt", () => {
|
|
it("includes python tool details when enabled", async () => {
|
|
const prompt = await buildSystemPrompt({
|
|
cwd: "/tmp",
|
|
toolNames: ["python"],
|
|
contextFiles: [],
|
|
skills: [],
|
|
rules: [],
|
|
});
|
|
|
|
expect(prompt).toContain("python: Execute Python code via a session-backed IPython kernel");
|
|
expect(prompt).toContain("What python IS for");
|
|
});
|
|
});
|