commit 24b58faf5809864c4518e4070c3de92bd6e0411a parent 9d511d61c86352abd59b552ef224ba15f2b08939 Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 25 Oct 2026 02:04:38 +0000 test(context): remove "ignores failures (no throw on bad write)" test Diffstat:
| M | context/logger.test.ts | | | 8 | -------- |
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/context/logger.test.ts b/context/logger.test.ts @@ -69,12 +69,4 @@ describe("logger", () => { expect(content).toContain("second"); expect(content.split("\n").filter(Boolean).length).toBe(2); }); - - it("ignores failures (no throw on bad write)", () => { - const logger = initLogger(tempRoot); - // make dir read-only to simulate failure (best effort) - fs.mkdirSync(path.join(tempRoot, ".log"), { recursive: true }); - // this should not throw - expect(() => logger.log("should be ignored")).not.toThrow(); - }); });