[tests](https://github.com/dmitrym0/org-hyperscheduler/blob/main/tests/test-org-hyperscheduler.el) share a lot of boilerplate, specifically they all start with this code: ```lisp (with-temp-buffer (org-mode) (insert mock-org-contents) <body> ) ``` There's gotta be a way to pass the body in rather than copying and pasting the setup every time.
tests share a lot of boilerplate, specifically they all start with this code:
(with-temp-buffer (org-mode) (insert mock-org-contents) <body> )There's gotta be a way to pass the body in rather than copying and pasting the setup every time.