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

jest fail node_modules/jest-cli/src/lib/FakeTimers.js:342:7 #77

Open
gkindel opened this issue Oct 27, 2016 · 0 comments
Open

jest fail node_modules/jest-cli/src/lib/FakeTimers.js:342:7 #77

gkindel opened this issue Oct 27, 2016 · 0 comments

Comments

@gkindel
Copy link

gkindel commented Oct 27, 2016

html5-analytics-plugins $ npm -v
3.10.6

html5-analytics-plugins $ node -v
v6.2.0

html5-analytics-plugins $ jest
 FAIL  test/unit-tests/testAnalyticsFramework.js
TypeError: Cannot read property 'length' of undefined
  at maybeReadMore_ (_stream_readable.js:457:18)
  at /Users/gkindel/Dropbox/workspace/cxense/html5-analytics-plugins/node_modules/jest-cli/src/lib/FakeTimers.js:342:7
  at _combinedTickCallback (internal/process/next_tick.js:67:7)
  at process._tickCallback (internal/process/next_tick.js:98:9)

Related:
jestjs/jest#340
facebook/react#4590
RisingStack/react-way-getting-started#14

Workaround via jestjs/jest#243 (comment)

As of #374, Jest should work on latest io.js. It's currently in a separate branch, https://github.com/facebook/jest/tree/0.5.x, and can also be installed via npm facebook/jest#0.5.x. Later on we'll consider moving to io.js, and making this branch as master (and when Node 2.0 will fully be merged with io.js, it automatically work with node). If you use io.js, we'll be glad to get the feedback on the experience with 0.5.x

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

1 participant