-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
TypeError: Cannot read property 'length' of undefined #340
Comments
+1 This error manifests itself if a It works as expected if there is only one test file in the io.js v1.8.1 as well with Edit: |
@sogko I receive this error even when I have only one test per tests folder, though I have multiple tests folders throughout my project. |
+1 same issue for me |
+1 iojs 1.8.1 |
Also happend on iojs 2.1.0 |
+1 iojs 2.3.1 |
If you would like to use jest with io.js, you will need to use the 0.5.x branch of the jest-cli
found via #243 (comment) |
thanks, @mattotodd ! I've given up on Jest for the project I'm working on, but I'll keep that in mind for next time I try Jest. Thanks for taking the time to post this here! |
https://github.com/binarykitchen/gulp-jest-iojs might be useful ... |
@mattotodd npm WARN package.json @ No repository field while using npm install facebook/jest#0.5.x |
+1 |
This is fixed in 0.5. |
Other examples do not fail, but upgrade any way. I did not upgrade the main flux package.json, as the tests do not currently pass.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Since I switched to io.js v1.8.1 I get plenty of these errors:
The text was updated successfully, but these errors were encountered: