fix(heartbeat): ignore completed-only heartbeat entries
This commit is contained in:
1 parent
e3df310309
commit
2671c8fe55
2 files changed
+8
No files matched your search
@@ -960,6 +960,8 @@ def test_heartbeat_retains_recent_messages_by_default():
|
||||
("<!--\nmulti-line\ncomment\n-->\n", False), # block comment, not tasks
|
||||
("<!-- single line -->\n", False),
|
||||
("## Active Tasks\n\n- water the plants\n", True),
|
||||
("## Completed\n\n- water the plants\n", False),
|
||||
("## Active Tasks\n\n### Garden\n\n- water the plants\n", True),
|
||||
],
|
||||
)
|
||||
def test_heartbeat_has_active_tasks(content, expected):
|
||||
|
||||
Reference in new issue
Block a user