Files
oh-my-pi/packages/coding-agent/test/core/system-prompt.python.test.ts
T
can1357 92ec2550d2 refactor(coding-agent): reorganized test files to proper test directory structure
- 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.
2026-01-19 00:07:23 +01:00

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");
});
});