- 03 Feb, 2018 1 commit
-
-
Pete Nykänen authored
* Add graphql loader to webpack config Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update react-scripts README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add integration tests, pin versions in package.json Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Tests expect regexp matchers Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Use strict equal test instead Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Escaping is hard Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add comment for signifying a different file * Update docs * Fix jest config * Remove node_modules exclusion * Update README.md * Inline graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update copyright header Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Use .graphql extension only Signed-off-by:
petetnt <pete.a.nykanen@gmail.com>
-
- 01 Feb, 2018 1 commit
-
-
bradfordlemley authored
* Support for multiple source paths via package.json srcPaths entry. Initial support for yarn workspace. Support lerna workspace, fix for when to use template files. Remove support for specifying srcPaths in package.json. Re-enable transpilation caching. * Clean up, use file matching (similar to original) in webpack configs instead of matching function. * Remove package lock files. * Fix for eject. Note: monorepos won't work after eject. Can be fixed easily with JEST 22.0.?+ which has file pattern matches against realpaths. * Filter tests to run only tests in monorepo components included by the app. (Not sure this is desireable, might be cool to be able to easily run all tests in monorepo from one app.) * Fix conditions for when to use template. * Fix eject. * Remove code that is not needed w/ Jest 22. * Include all cra-comp tests in monorepo instead of trying to include only tests that are dependencies of app. (tests can be easily filtered via jest cli if desired, e.g. 'npm test -- myapp comp1') * Pin find-pkg version. * Hopefully fix jest test file matching on windows by removing first slash. * E2E tests for monorepo. * Run monorepo tests in CI. * Fix and test post-eject build. * Fix e2e test. * Fix test suite names in appveyor. * Include individual package dirs as srcPaths instead of top-level monorepo root. Fixes build/start after eject. * Fix running tests after eject. * Clean up test workspace, add some verifcations. * Cleanup. * Try to fix hang when running test on appveyor. * Don't write babel or lint config to package.json when ejecting. * Incorporate review comments. * Simply monorepo pkg finder * Only include monorepo pkgs if app itself is included in monorepo * Check for specific tests in e2e * Fixes for windows. * Fix for kitchensink mocha tests compiling. * Add lerna monorepo test. * Fix lerna bootstrap on windows. * Incorporate more review comments: * remove support for lerna w/o yarn workspace * add react and react-dom as devDeps to comp1 and comp2 * Add monorepo info to user guide.
-
- 17 Jan, 2018 2 commits
-
-
Ro Savage authored
* Add css modules with [name].modules.css file convention * Add e2e for CSS Modules * Updated based on feedback * Change css modules class name to be deterministic and fix licences * Update css modules class naming convention
-
Jack Franklin authored
* Enhance Jest config error for `setupTestFrameworkScriptFile` I wasn't aware of the fact that users of c-r-a could just define `src/setupTests.js` and it would be configured with Jest - I nearly ejected before I found a GitHub issue that confirmed this functionality. I thought it might be a nice idea to add it to the error about Jest config overrides to stop others ejecting when they don't need to. * Change the order of Jest config errors. * Show different error for `setupTestFrameworkScriptFile` * Tweak the message
-
- 15 Jan, 2018 2 commits
-
-
Gary Meehan authored
-
aisensiy authored
* update jest to 21.0.2 to support watchPathIgnorePatterns configuration * update jest to 21.1.0 * Try bumping Jest * Bump babel-jest * Try to debug weird CI failure * Remove debug code * Bump other Jest packages * ffs * temp * Revert "temp" This reverts commit 62aec9ac.
-
- 28 Oct, 2017 1 commit
-
-
Joe Haddad authored
-
- 26 Sep, 2017 1 commit
-
-
Sophie Alpert authored
* File headers BSD+Patents -> MIT * BSD+Patents -> MIT
-
- 07 Jul, 2017 1 commit
-
-
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.
-
- 28 Jun, 2017 1 commit
-
-
Evan Jones authored
* Better React Native Web support * Adding better react-native-web support for jest testing
-
- 16 May, 2017 2 commits
-
-
Ryan Sullivan authored
* Override Jest config collectCoverageFrom with package.json * Protect against overriding other options * Better error message * Create Jest config early on eject * Tweak wording * Dry it up
-
Tom Dunlap authored
* Only run tests in <rootDir>/src (#544) * updates Jest to 19.0.2 * removes testPathIgnorePatterns from jest config * adds testMatch to jest config to only match files in src * Bump babel-jest to 19.0.0 to match jest 19.0.2
-
- 15 May, 2017 1 commit
-
-
Rogelio Guzman authored
* Upgrade to Jest 19 * Use testMatch * Correct version
-
- 08 May, 2017 1 commit
-
-
Jeremy Morrell authored
-
- 07 Mar, 2017 1 commit
-
-
Valerii Sorokobatko authored
* mv create-react-app/index.js -> create-react-app/creteReactApp.js * update to modern code style * var -> cosnt * set trailing-coma to es5 for prettier
-
- 06 Mar, 2017 1 commit
-
-
Dan Abramov authored
-
- 04 Mar, 2017 1 commit
-
-
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
-
- 23 Dec, 2016 1 commit
-
-
David authored
-
- 18 Dec, 2016 1 commit
-
-
Eduard Kyvenko authored
-
- 08 Dec, 2016 1 commit
-
-
mustang authored
-
- 07 Dec, 2016 1 commit
-
-
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
-
- 05 Dec, 2016 1 commit
-
-
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.
-
- 04 Dec, 2016 1 commit
-
-
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.
-
- 21 Nov, 2016 2 commits
-
-
Stefan authored
Revert webpack prod config comments to not refer to dev server.
-
Ville Immonen authored
* Replace `scriptPreprocessor` config with `transform`. * Also remove `moduleFileExtensions` which has been redundant since 16.0 (`['js', 'json', 'jsx', 'node’]` is the default)
-
- 28 Oct, 2016 2 commits
-
-
-
Patrick Mackinder authored
-
- 11 Oct, 2016 1 commit
-
-
Chase Colman authored
* Update react-scripts dependencies to use jest 16 * Remove testRegex from Jest config (now default)
-
- 05 Oct, 2016 1 commit
-
-
Boris Serdiuk authored
fixes facebookincubator/create-react-app#824
-
- 23 Sep, 2016 1 commit
-
-
Dan Abramov authored
* Extract some utilities into a separate package * Add utils dir to `files` in package.json * Do not create an empty `utils` dir on eject
-
- 22 Sep, 2016 1 commit
-
-
Dan Abramov authored
Fixes #410, #674
-
- 19 Sep, 2016 1 commit
-
-
Ville Immonen authored
-
- 18 Sep, 2016 1 commit
-
-
Dan Abramov authored
-
- 17 Sep, 2016 1 commit
-
-
Dan Harper authored
-
- 11 Sep, 2016 1 commit
-
-
Marek Suscak authored
-
- 10 Sep, 2016 1 commit
-
-
Ville Immonen authored
The regexes in the Jest `moduleNameMapper` configs were a bit too strict, causing them to not pick up files with special characters like `@` in the file path. Change them to match anything with the correct file extension.
-
- 03 Sep, 2016 1 commit
-
-
Jeremy Gayed authored
* Adds JSX extension support * PR changes * Add testRegex * Add note about not recommending JSX, link to issue
-
- 02 Sep, 2016 2 commits
-
-
Gael du Plessix authored
-
Jiansen HE authored
tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257)
-
- 01 Sep, 2016 1 commit
-
-
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
-