org-hyperscheduler icon indicating copy to clipboard operation
org-hyperscheduler copied to clipboard

Refactor tests to remove common setup code

Open dmitrym0 opened this issue 2 years ago • 1 comments

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.

dmitrym0 avatar May 28 '22 23:05 dmitrym0

This is implemented in another branch.

dmitrym0 avatar Aug 04 '22 23:08 dmitrym0