From 34e5cfdcbe29bbb5f2f46ba54eb67903abd9274d Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Tue, 28 Jul 2026 20:32:57 +0530 Subject: refactor(test): strip comment noise Removes suite banners, section dividers, and test-id markers that restate the test names. Keeps one-line notes for the deleted-binary fixture order, the never-arriving event consumer, the absent-vs-undefined key distinction, the unexpected-method-echo rationale, and the real-browser teardown and Local State flush quirks. Co-Authored-By: Claude Opus 5 (1M context) --- test/profile/store-test.ts | 9 --------- 1 file changed, 9 deletions(-) (limited to 'test/profile/store-test.ts') diff --git a/test/profile/store-test.ts b/test/profile/store-test.ts index 8b0d85c..89afd00 100644 --- a/test/profile/store-test.ts +++ b/test/profile/store-test.ts @@ -1,11 +1,3 @@ -/** - * Unit tests for the profile pin store — no browser required. - * - * Redirects pi's agent dir via $PI_CODING_AGENT_DIR so the real - * ~/.pi/agent/browser-harness.json is never touched. - * - * Run: npm test - */ import { test, before, after, describe } from "node:test"; import assert from "node:assert/strict"; import { mkdtempSync, mkdirSync, readdirSync, rmSync, writeFileSync } from "node:fs"; @@ -114,7 +106,6 @@ describe("profile pin store", () => { const blocked = join(sandbox, "blocked"); mkdirSync(blocked, { recursive: true }); writeFileSync(join(blocked, "browser-harness.json"), "{}", "utf8"); - // Point the agent dir at a FILE — mkdir/write must fail cleanly. process.env["PI_CODING_AGENT_DIR"] = join(blocked, "browser-harness.json"); const { writePin: writeAgain } = await import(`../../src/profile/store?nocache=${Date.now()}`); const written = await writeAgain(pin); -- cgit v1.2.3