test: verify Korean project path support

This commit is contained in:
2026-08-13 09:57:27 +09:00
parent 2f0699d795
commit b57a80814f
4 changed files with 37 additions and 7 deletions

View File

@@ -8,9 +8,9 @@ import { parseArguments } from "../dist/args.js";
import { composeAgentHarness } from "../dist/harness.js";
async function createFixture(t) {
const root = await mkdtemp(path.join(os.tmpdir(), "kri-create-next-harness-"));
const harnessRoot = path.join(root, "_________AgentHarnessBase");
const targetDir = path.join(root, "sample-front");
const root = await mkdtemp(path.join(os.tmpdir(), "kri-create-next-한글 공백-"));
const harnessRoot = path.join(root, "_________Agent Harness 기준");
const targetDir = path.join(root, "샘플 front");
const logPath = path.join(root, "calls.jsonl");
await mkdir(path.join(harnessRoot, "dist"), { recursive: true });
await mkdir(targetDir, { recursive: true });
@@ -52,7 +52,7 @@ test("registers shared, composes, and verifies in deterministic order", async (t
.split("\n")
.map((line) => JSON.parse(line));
assert.deepEqual(calls, [
["register", "--project", "sample-front", "--path", "sample-front", "--shared"],
["register", "--project", "sample-front", "--path", "샘플 front", "--shared"],
["compose", "--project", "sample-front"],
["verify", "--project", "sample-front"],
]);