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

Same issue with Karma, Mocha and Jest #1

Open
rodoabad opened this issue Nov 19, 2015 · 1 comment
Open

Same issue with Karma, Mocha and Jest #1

rodoabad opened this issue Nov 19, 2015 · 1 comment

Comments

@rodoabad
Copy link

We have the same issue and the only difference between us is that we use mocha instead of jasmine.

@saskodh
Copy link
Owner

saskodh commented Nov 7, 2017

Hi @rodoabad, thanks for sharing this. I updated the example with Jest and there is also the same issue.
The test run with Jest w/ jsdom also crashes on memory:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory.

These are the results when the proposed solution is applied:

Jest w/ jsdom execution - w/o mem. leaks
	Tests:       3008 passed, 3008 total
	Snapshots:   0 total
	Time:        42.487s
	Ran all test suites.

Karma w/ Chrome execution - w/o mem. leaks
	All 3008 tests passed - 28s 495ms```

@saskodh saskodh changed the title Try going up to more than 1GB with one instance Same issue with Karma, Mocha and Jest Nov 7, 2017
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