Skip to content
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

Process never finish with --aggregated-output #111

Closed
jlopezxs opened this issue Oct 16, 2017 · 1 comment
Closed

Process never finish with --aggregated-output #111

jlopezxs opened this issue Oct 16, 2017 · 1 comment

Comments

@jlopezxs
Copy link
Contributor

Bug Report

Details

When I execute many tests in jest with the --coverage flag and --aggregated-output the process stays in waiting and doesn't launch the exit code.

Expected Behavior

Execute all the command properly.

Actual Behavior

The process never ends.

Possible Fix

Doing some test if I change the package memory-streams for memorystream everything works well.

//const writer = new streams.WritableStream()
const writer = new MemoryStream();

https://github.com/JSBizon/node-memorystream

Your Environment

Node: v8.1.4
SO: Mac OS

@jlopezxs jlopezxs changed the title Problem with --aggregated-output and process never finish the process Problem with --aggregated-output and process never finish Oct 16, 2017
@jlopezxs jlopezxs changed the title Problem with --aggregated-output and process never finish Process never finish with --aggregated-output Oct 16, 2017
@mysticatea
Copy link
Owner

Thank you for this issue.

--aggregated-output depends on a number of outputs and the memory of your machine since it accumulates all outputs then prints those after all tasks have done.
If the memory-streams package is using superfluous memory, I should check it and replace it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants