aboutsummaryrefslogtreecommitdiff
path: root/modules/org-export-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 03:22:50 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 03:22:50 -0500
commit54616242ab2bebb6efb6660c311df0127a82f962 (patch)
tree32026d8b363e06780f5138ad54598df080024b07 /modules/org-export-config.el
parent6fa688a65f9b185220ce3ecbefce7103b4168f7d (diff)
downloaddotemacs-54616242ab2bebb6efb6660c311df0127a82f962.tar.gz
dotemacs-54616242ab2bebb6efb6660c311df0127a82f962.zip
test(slack-config): cover credentials, start/stop, reactions, notify, kill-all
Sibling `test-slack-config-reactions.el` covered the post-command-hook safety advice and the empty-buffer guard. This batch covers the rest: - `cj/slack--get-credential`: string secret, function secret, missing entry. - `cj/slack-start`: errors when token / cookie missing, registers + starts when both present. - `cj/slack-stop`: calls `slack-ws-close` + messages. - `cj/slack--reaction-candidates`: includes the (Other...) escape hatch. - `cj/slack-select-reaction`: emoji-name return for a curated pick, delegation to `slack-message-reaction-input` for Other. - `cj/slack-notify`: fires for IMs (not self), skips self-messages and non-IM non-mentions. - `cj/slack-test-notify`: fires the notify pipeline directly. - `cj/slack-mark-read-and-bury`: marks via the latest-ts + buries; outside slack, just buries. - `cj/slack-close-all-buffers`: closes buffers with `slack-current-buffer` local, leaves non-slack buffers alone. The close-all assertions check identity (the 2 slack buffers killed, the non-slack one preserved) instead of an exact total -- ERT-internal buffers leaking into `(buffer-list)` from earlier tests would otherwise inflate the count, and `cl-letf` over the `buffer-list` subr is unreliable under native-comp.
Diffstat (limited to 'modules/org-export-config.el')
0 files changed, 0 insertions, 0 deletions