-
-
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
Update to work with node v 0.12.0 #243
Comments
#235 has some discussion around what needs to happen to make jest work on io.js. A lot of the same fixes will also apply to node 0.12.0 |
Having the same issue as @Artsu |
I'm having this issue when
Using Windows, Node 0.12.0, jest 0.4.0 P.S.: It stopped working after updating to Node 0.12.0, but this issue was silently failing (without writing any errors to the console) was present with Node 0.10, jest 0.2, 0.3 |
I'm seeing the same crash as @Johnius with node 0.12.0 and jest 0.4.0 testing the simple React example. |
Working well on v0.10.36 |
+1 huge blocker for me, all my tests fail. |
+1 can't even write them :) |
Any news on that? |
+1 |
+1 tests completely broken :( |
+1 Here, Tests were fine before node/npm upgrade. :( |
+1 |
Here is a test repo, which can be used to reproduce the issue (fails at least on Windows + Node 0.12 or ios): |
+1, I'm down with this issue too..any workarounds? ==> node --version ==> npm --version ==> npm test
Using Jest CLI v0.4.0 |
i am sure they have plans - there are lots of commits in the 0.5x branch |
All our software is written on v0.12. Do we just have to wait until the merge in order to run tests? Seems kind of bizarre that jest would not support v0.12, especially for almost half a year... |
@chapinkapa, would you consider switching to |
Ah, gotcha. Unfortunately I am at a fairly large company that wants to only use the latest stable branch of Node (for supposed stability). We are using Node 0.12 for several of our servers. |
+1 Works in in |
@harryworld works with iojs |
@mull I tried that, the error mentioned here is gone, but the tests are not all passed due to some libraries not included. For instance:
|
@harryworld if Parse is not defined then you need to include it. |
@mull Interesting, why the same code base (with Jest P.S> I'm new to Jest, not sure about its magic yet. |
I couldn't tell you. I noticed the same thing about a missing |
I'm going to close this out as we won't be able to support node 0.12 unfortunately. A decision that was made for us by jsdom. We'll likely be able to reconcile once node v4 comes out, which should support a reasonable upgrade path from node 0.12. More explanation: #469 (comment) |
@mull @harryworld indeed, you need to define all variables. I think jsdom became stricter in how it handles the global scope. |
guys, just use https://www.npmjs.com/package/gulp-jest-iojs for the time being until iojs v4 has been merged with nodejs |
@binarykitchen not everyone uses or wants to use gulp. So iojs seems to be the only option. |
@binarykitchen How does gulp-jest work on node 0.12? @nkbt your option is to use:
|
@cpojer Could you add something to the Jest docs in regards to the specific version numbers that are needed with the specific versions of node? Some sort of "supported versions" section would probably be helpful! I'm on node v4 and Jest doesn't seem to be working here either. I can just go back to node 0.10.0 no problem but just a suggestion! |
@chiedojohn jest 0.5.2 and up works with node 4 |
Thanks @cpojer looks like I've got some debugging to do on my end then! |
I'm having problem with |
Haven't tried npm3 yet. Seems like this should be its own issue, mind creating one, @felix-d ? |
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. |
As title.
The text was updated successfully, but these errors were encountered: