L
L
LB7772015-05-18 23:12:26
React
LB777, 2015-05-18 23:12:26

How to run Jest framework to test React.js?

I do according to the instructions facebook.github.io/jest/docs/tutorial-react.html , but when I run the
npm test
test, it falls into an error

Using Jest CLI v0.4.5
Waiting on 1 test...npm ERR! Test failed.  See above for more details.
Z:\home\my-project>

And nothing more. I would like to see the log where it is written because of what npm gives an error, but I did not understand whether this log exists and where to look at it.
System:
Windows 8.1
npm 2.5.1
node 0.12.0
python 2.7.3
visual studio 2013
jest-cli 0.4.5
react 0.13.3
react-tools 0.13.3
--------------- ----------------
How can I find out why the test is not running?
And how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Kureev, 2015-05-21
@xamd

Look here https://github.com/facebook/jest/issues/100

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question