title: Jest React Example
body: <p>I am trying to run the React Example from the <a href="http://facebook.github.io/jest/docs/tutorial-react.html#content">Jest React tutorial</a> but I am receiving errors </p>
  
  <pre><code>λ npm test                                          
  
  &gt; ...                           
  &gt; jest                                              
  
  Found 1 matching tests...                           
   FAIL  __tests__\CheckboxWithLabel-test.js (0.551s) 
  npm ERR! Test failed.  See above for more details.  
  npm ERR! not ok code 0   
  </code></pre>
  
  <p>I have pretty much copied the code directly from the example. The package.json is as follows: </p>
  
  <pre><code>{
    "dependencies": {
      "react": "*",
      "react-tools": "*"
    },
    "scripts":{
      "test": "jest"
    },
    "jest": {
      "scriptPreprocessor": "&lt;rootDir&gt;/preprocessor.js",
      "unmockedModulePathPatterns": [
        "&lt;rootDir&gt;/node_modules/react"
      ]
    },
    "devDependencies": {
      "jest-cli": "~0.1.17"
    }
  }
  </code></pre>
  
  <p>Any thoughts on what I can do to resolve these errors and run the example test successfully? It's very possible I'm missing an important detail (or details) but not entirely sure what. Oh and for what it's worth, I'm running this on Windows if that impacts this. I would really like to get some tests on my react components (was having some trouble there too so started with the basic examples) -- any help would be appreciated :) </p>