-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jest exists before report is generated #19
Comments
I will have a look at it ASAP! |
Is it an option to use the synchronous I/O calls in nodeJs? Not sure what version of NodeJs introduced them. |
I'm pretty sure it's been possible for a long time to do synchronous calls with fs (correct me if I'm wrong). I'm unsure if that's the solution in this case though. It is a little weird as I haven't heard this from anyone else using the plugin. |
I'm using node.js v8.9.1 |
I have been trying to reproduce this issue, but without any luck. I'm wondering if there might be something related to the structure of the project that you are working on that causes this issue, since there haven't been any reported issues where the reports haven't been generated up until now. Theoretically, the asynchronous method Would you mind attempting to debug what may cause this issue to occur and post any findings here? Thanks! |
if it helps, i noticed that no report is generated if jest is running with --forceExit. it seems that it closes before the report is created. |
Closing this for now. Re-open if you still think it is a relevant issue. |
i think this is still a problem. other reporters are not creating this problem(junit reporter). |
Is is possible to provide more details of the environment you ran the test on (together with I did a test in this project with |
There is a potential fix for this issue in v2.0.0 - see #33 |
Thank you very much!!
I will see if it works for me :-)
On Feb 19, 2018 13:30, "Johan Hargne" <notifications@github.com> wrote:
There is a potential fix for this issue in v2.0.0 - see #33
<#33>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APccsNpR5a5-eFO6_0Oky9Zie1Z4C91Jks5tWVtPgaJpZM4Q25mG>
.
|
@zeevrosental v2.0.0 has now been released. I will mark this issue as resolved for now. |
The createReport method returns a promise structure. However, when index.js calls the createReport its not expecting a promise so the execution resumes. The report is never generated because jest exists before the writeFile method is ever called.
The text was updated successfully, but these errors were encountered: