Skip to content

Commit 8b5a502

Browse files
committed
test: add codex command registrar mapping check
1 parent fc41d8e commit 8b5a502

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/test_extensions.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,11 @@ def test_kiro_cli_agent_config_present(self):
405405
assert CommandRegistrar.AGENT_CONFIGS["kiro-cli"]["dir"] == ".kiro/prompts"
406406
assert "q" not in CommandRegistrar.AGENT_CONFIGS
407407

408+
def test_codex_agent_config_present(self):
409+
"""Codex should be mapped to .codex/prompts."""
410+
assert "codex" in CommandRegistrar.AGENT_CONFIGS
411+
assert CommandRegistrar.AGENT_CONFIGS["codex"]["dir"] == ".codex/prompts"
412+
408413
def test_parse_frontmatter_valid(self):
409414
"""Test parsing valid YAML frontmatter."""
410415
content = """---

0 commit comments

Comments
 (0)