Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from upstream repo facebookincubator/create-react-app #2

Merged
merged 19 commits into from
Nov 18, 2016
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b284377
Encourage people to try recent npm
gaearon Oct 24, 2016
91e616e
Point people to npm Windows instructions
gaearon Oct 25, 2016
75d1585
Add next.js to Alternatives
gaearon Oct 25, 2016
ca443ab
Enable compression on webpack-dev-server (#966) (#968)
frontsideair Oct 28, 2016
91c8650
Gently nudge users towards https by default (#974)
Swizec Oct 28, 2016
0bd593b
Catch and noop call to open web browser. (#964)
spadin Oct 28, 2016
a0efbeb
Add collectCoverageFrom option to collect coverage on files without a…
mackbyte Oct 28, 2016
fcda24e
Always build before deploying to gh-pages (#959)
dsernst Oct 28, 2016
8a5c50d
Fixes https://github.com/facebookincubator/create-react-app/issues/95…
vadzim Oct 28, 2016
7ce4b6e
Check for presence of folders before continuing eject. Closes #939. (…
heldinz Oct 28, 2016
6bda4b9
Remove custom babel-loader cache dir config (#983)
fson Oct 29, 2016
e3b6966
Allow webpack 2 as peerDependency in react-dev-utils (#963)
Oct 31, 2016
b855cc3
Add Gatsby to alternatives (#995)
KyleAMathews Oct 31, 2016
79160b8
Remove redundant `function` from export statement (#996)
gnowoel Nov 1, 2016
da1d534
Update babel-present-env and use node: 'current' as target (#1051)
valscion Nov 17, 2016
80fe767
Clears the usage of react-jsx-source & react-jsx-self (#992)
sathishsoundharajan Nov 17, 2016
4a7f78e
Remove unnecessary transform plugins for object spread to work (#1052)
valscion Nov 17, 2016
b9c9aed
Fix chrome tab reuse (#1035)
Nov 17, 2016
bcc469c
Support Yarn (#898)
fson Nov 17, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add collectCoverageFrom option to collect coverage on files without a…
…ny tests. (facebook#961)
  • Loading branch information
mackbyte authored and gaearon committed Oct 28, 2016
commit a0efbebee2671d1f11bc0a1936b84e45ab322c19
1 change: 1 addition & 0 deletions packages/react-scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
const setupTestsFile = pathExists.sync(paths.testsSetup) ? '<rootDir>/src/setupTests.js' : undefined;

const config = {
collectCoverageFrom: ['src/**/*.{js,jsx}'],
moduleFileExtensions: ['jsx', 'js', 'json'],
moduleNameMapper: {
'^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': resolve('config/jest/FileStub.js'),
Expand Down