Skip to content

Mark test case as async to exclude sync methods from being tested #38

Open
@gijswijs

Description

Maybe I'm missing something here, but I'm extending the nunjucks transformer to be able to handle async rendering as well. For this I added a renderAsync method that handles this.
I also added a test case that mimics an async template loader.
This test case (obviously) fails with the sync methods, as it should. But there's no way to exclude the methods from being tested on the async test case.
The other way around (testing the async method on sync test cases) isn't a problem, since the renderAsync handles them perfectly.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions