1. 07 Jul, 2017 1 commit
    • Mostafa Hajizadeh's avatar
      Add "node" to Jest's moduleFileExtensions (#2738) · 16f0d4a5
      Mostafa Hajizadeh authored
      Jest's default value for this option is ["js", "json", "jsx", "node"].
      CRA's current value is ["web.js", "js", "json", "web.jsx", "jsx"], which
      is missing one of default ones: "node". This change fixes that.
      
      This "node" extension is used in packages that use native code.
      16f0d4a5
  2. 28 Jun, 2017 1 commit
  3. 16 May, 2017 2 commits
  4. 15 May, 2017 1 commit
  5. 08 May, 2017 1 commit
  6. 07 Mar, 2017 1 commit
  7. 06 Mar, 2017 1 commit
  8. 04 Mar, 2017 1 commit
    • Daniel Grant's avatar
      Modularise scripts (#1433) · b88d6655
      Daniel Grant authored
      * Refactor start script into modules
      
      * Move dev server config into config file
      
      * Replace eject file whitelist with a "remove-file-on-eject" flag
      
      * Move utils into scripts folder (for inclusion in ejection)
      
      * Add missed changes
      
      * Pass showInstructions as an argument
      
      * Fix eject bug
      
      * Don't eject babelTransform
      b88d6655
  9. 23 Dec, 2016 1 commit
  10. 18 Dec, 2016 1 commit
  11. 08 Dec, 2016 1 commit
  12. 07 Dec, 2016 1 commit
    • Dan Abramov's avatar
      Let Jest handle all file types (#1197) · 5456ffff
      Dan Abramov authored
      * Let Jest handle all file types
      
      * Update regexes
      
      * Fix exclusion regex to also exclude files without extension
      * Be over-cautious with Windows paths because I'm not sure how Jest handles them
      
      * There is no automatic babel-jest discovery now that we use transsform
      5456ffff
  13. 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
  14. 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
  15. 21 Nov, 2016 2 commits
  16. 28 Oct, 2016 2 commits
  17. 11 Oct, 2016 1 commit
  18. 05 Oct, 2016 1 commit
  19. 23 Sep, 2016 1 commit
  20. 22 Sep, 2016 1 commit
  21. 19 Sep, 2016 1 commit
  22. 18 Sep, 2016 1 commit
  23. 17 Sep, 2016 1 commit
  24. 11 Sep, 2016 1 commit
  25. 10 Sep, 2016 1 commit
  26. 03 Sep, 2016 1 commit
  27. 02 Sep, 2016 2 commits
  28. 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
  29. 23 Aug, 2016 1 commit
  30. 18 Aug, 2016 1 commit
  31. 08 Aug, 2016 1 commit
  32. 05 Aug, 2016 1 commit
  33. 04 Aug, 2016 1 commit
  34. 01 Aug, 2016 1 commit