You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: