Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save arikon/ce496879516cbfb7eb1d2f73eb964010 to your computer and use it in GitHub Desktop.

Select an option

Save arikon/ce496879516cbfb7eb1d2f73eb964010 to your computer and use it in GitHub Desktop.
oh-my-codex #3323: canonicalize macOS #3138 test path expectation
From 75acaa7d456b5b22a8d8ec01e0be10d65f2e6054 Mon Sep 17 00:00:00 2001
From: Sergey Belov <peimei@ya.ru>
Date: Tue, 28 Jul 2026 00:17:08 +0200
Subject: [PATCH] test(hook): canonicalize #3138 path expectation
---
src/scripts/__tests__/codex-native-hook.test.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/scripts/__tests__/codex-native-hook.test.ts b/src/scripts/__tests__/codex-native-hook.test.ts
index 05f96ed2..297caa38 100644
--- a/src/scripts/__tests__/codex-native-hook.test.ts
+++ b/src/scripts/__tests__/codex-native-hook.test.ts
@@ -5050,7 +5050,7 @@ PY`,
assert.notEqual(terminalWrite.isError, true);
assert.equal(
(terminalWrite.payload as { path?: string }).path,
- join(stateDir, "sessions", canonicalSessionId, "deep-interview-state.json"),
+ join(realpathSync(stateDir), "sessions", canonicalSessionId, "deep-interview-state.json"),
);
assert.equal(existsSync(join(stateDir, "sessions", ownerSessionId, "deep-interview-state.json")), false);
--
2.50.1 (Apple Git-155)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment