Skip to content

Commit a17b2dc

Browse files
test: assert complete runEvent call with 60s fallback in timeout guard test
Addresses Copilot feedback: the regression test now verifies the exact runEvent() call uses the 60-second default, not just that the handler name is present. Assisted-by: GitHub Copilot (autonomous)
1 parent 60569e9 commit a17b2dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/specify_cli/events/test_events.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,7 @@ def test_opencode_non_numeric_timeout_uses_default(self, tmp_path):
12411241
assert plugin_path.is_file()
12421242
content = plugin_path.read_text()
12431243
assert "speckit.tdd.validate" in content
1244+
assert 'runEvent("speckit.tdd.validate", "pre_tool_use", input, output, 60)' in content
12441245

12451246

12461247
# -- Command runner test (core execution) -----------------------------------

0 commit comments

Comments
 (0)