Skip to content

Refactor tests to remove common setup code #12

@dmitrym0

Description

@dmitrym0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions