1. 05 Dec, 2016 1 commit
    • Stephen John Sorensen's avatar
      Add testURL to jest config (#1120) · aaa615f6
      Stephen John Sorensen authored
      In my tests, jsdom was throwing a "SecurityError" at HistoryImpl._sharedPushAndReplaceState (node_modules/react-scripts/node_modules/jsdom/lib/jsdom/living/window/History-impl.js:87:15)
      
      This happens because document.URL defaults to "about:blank". Unfortunately, if you interact with the History object it tries and fails to parse the URL, causing a "SecurityError" to be thrown. Setting the default URL to "http://localhost" fixes this issue.
      aaa615f6
  2. 04 Dec, 2016 1 commit
    • Ville Immonen's avatar
      Revert Jest moduleNameMapper regex back to a whitelist (#1149) · 715de0de
      Ville Immonen authored
      Jest matches moduleNameMapper regexes with module names, not the full
      file path, so the negative lookahead doesn’t work for filtering out
      JS files, because they can be imported without the extension. So paths
      like `lodash.assign` and `../utils/range` were mislabeled as resources
      with unknown file extensions because they have a dot in the name.
      
      As a stopgap measure, revert the moduleNameMapper regex added in #1077.
      715de0de
  3. 21 Nov, 2016 2 commits
  4. 28 Oct, 2016 2 commits
  5. 11 Oct, 2016 1 commit
  6. 05 Oct, 2016 1 commit
  7. 23 Sep, 2016 1 commit
  8. 22 Sep, 2016 1 commit
  9. 19 Sep, 2016 1 commit
  10. 18 Sep, 2016 1 commit
  11. 17 Sep, 2016 1 commit
  12. 11 Sep, 2016 1 commit
  13. 10 Sep, 2016 1 commit
  14. 03 Sep, 2016 1 commit
  15. 02 Sep, 2016 2 commits
  16. 01 Sep, 2016 1 commit
    • Dan Abramov's avatar
      Update Jest (#530) · 67fe7592
      Dan Abramov authored
      * Update Jest
      
      * Remove default snapshot test
      
      * Fix a few things
      
      * Add a simple default test
      
      * App.spec.js -> App.test.js
      
      * Fix e2e test
      
      * Bump Jest
      67fe7592
  17. 23 Aug, 2016 1 commit
  18. 18 Aug, 2016 1 commit
  19. 08 Aug, 2016 1 commit
  20. 05 Aug, 2016 1 commit
  21. 04 Aug, 2016 1 commit
  22. 01 Aug, 2016 1 commit