Files
oh-my-pi/packages/coding-agent/test/core/system-prompt.python.test.ts
T
can1357 7b5af2dd9f refactor(build): migrated imports to path aliases with per-package tsconfig support
- converted relative imports to path aliases ($c/*, $ai/*, $tui/*, etc.) across all packages
- added per-package tsconfig.json with complete path mappings for runtime resolution
- set importModuleSpecifier to non-relative for IDE auto-import preferences
- updated dev script to run from monorepo root for consistent path resolution
2026-01-23 11:56:32 +01:00

18 lines
487 B
TypeScript

import { describe, expect, it } from "bun:test";
import { buildSystemPrompt } from "$c/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:** stateful scripting and REPL work");
expect(prompt).toContain("What python IS for");
});
});