RosaeNLG / rosaenlg

RosaeNLG is a Natural Language Generation library for node.js and browser rendering, based on the Pug template engine.
https://rosaenlg.org
Apache License 2.0
91 stars 21 forks source link

[BUG] done() called multiple times in rosaenlg-node-server:test #170

Closed blegaut closed 1 year ago

blegaut commented 1 year ago

Describe the bug In the dev environment, sometimes the tests in rosaenlg-node-server:test will failwith the following message

 1) persistence
              cannot save template
                "after all" hook in "cannot save template":
            done() called multiple times in hook <persistence cannot save template "after all" hook in "cannot save template"> of file 

To Reproduce eventually run the tests on a Mac

Expected behavior The tests should run ok.

Code If applicable, RosaeNLG template code and/or additional code that trigger your problem.

Context:

Additional context The problem is easily solved by adding a done. I am doing a PR image

ludans commented 1 year ago

solved thanks to your PR #171