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

Update Jest test runner to version 20.0.4 #2251

Merged
merged 2 commits into from
Aug 15, 2017

Conversation

gregaubert
Copy link
Member

Trying to update the version of Jest to prevent a memory leak that is affecting our tests : jestjs/jest#1893

Running the tests with Jest version 19.x would use up to 1.6Gb Ram, making the tests fail on Travis.

Unfortunately updating to version 20.0.4 does not bring a big improvement, we only went down to 1.4Gb consumption, so the leak is still there.

Jest is using babel-polyfill automatically if the module is available, so trying to remove the dependency to babel-polyfill shows a little better results, down to max 900Mb Ram used.
But that would mean we need to drop babel-polyfill and it's still used for older browsers.

@gregaubert gregaubert force-pushed the feature/greg/update_jest_test_runner branch from d0f84b7 to 843ffbe Compare July 13, 2017 14:11
@gregaubert gregaubert force-pushed the feature/greg/update_jest_test_runner branch from 843ffbe to 43b676f Compare July 25, 2017 11:03
@gregaubert gregaubert force-pushed the feature/greg/update_jest_test_runner branch from 43b676f to 35e6b71 Compare August 14, 2017 09:49
@gregaubert gregaubert force-pushed the feature/greg/update_jest_test_runner branch from 35e6b71 to f2d095c Compare August 15, 2017 12:18
@gregaubert
Copy link
Member Author

@stas-vilchik We probably need to also merge this, since the other PR is using a ts-jest version that needs jest v20.0.4

@gregaubert gregaubert merged commit c26fb25 into master Aug 15, 2017
@gregaubert gregaubert deleted the feature/greg/update_jest_test_runner branch August 15, 2017 15:21
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

Successfully merging this pull request may close these issues.

2 participants