-
Notifications
You must be signed in to change notification settings - Fork 254
npm test fails with out of memory #230
Comments
Interesting. I'll leave it open for now. Maybe someone knows why it's happening. On the long term, the tests will change and I'll probably drop karma for jsdom (with Enzyme) |
I tried a few more times but it is consistent. It's probably got something to do with the combination Karma/Windows I suspect. Why the need for a framework like that though? Your components are mostly pretty simple so why not just test the output or
EDIT: Maybe I have to expain that a bit more... It consistently crashes with an out of memory, but the output is different each time, so it's not crashing in the same code. |
A component is not just an output, sometimes it's more than than with logic. So you cannot really use About the memory issue, I have no idea :s I never got any crash when testing locally or on Travis |
Yes! It would be so much better! :) |
@Download I found a similar issue here karma-runner/karma#1868 |
I'm not saying this is an issue with this repo, just that this happened to me just now when trying to run
npm test
after forking this repo, cloning it to my (Windows 10) machine andnpm install
ing it:Feel free to close, just posting this in case you like to know.
Thanks for your work on this lib btw.
The text was updated successfully, but these errors were encountered: