Skip to content

Commit 50629e6

Browse files
committed
Remove default snapshot test
1 parent 56e495d commit 50629e6

File tree

4 files changed

+3
-23
lines changed

4 files changed

+3
-23
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@
8080
"devDependencies": {
8181
"bundle-deps": "1.0.0",
8282
"react": "^15.3.0",
83-
"react-dom": "^15.3.0",
84-
"react-test-renderer": "^15.3.0"
83+
"react-dom": "^15.3.0"
8584
},
8685
"optionalDependencies": {
8786
"fsevents": "1.0.14"

scripts/init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
7171
'install',
7272
'react',
7373
'react-dom',
74-
'react-test-renderer',
7574
'--save',
7675
verbose && '--verbose'
7776
].filter(function(e) { return e; });

scripts/utils/createJestConfig.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,8 @@ module.exports = (resolve, rootDir) => {
1414
'^[./a-zA-Z0-9$_-]+\\.css$': resolve('config/jest/CSSStub.js')
1515
},
1616
scriptPreprocessor: resolve('config/jest/transform.js'),
17-
setupFiles: [
18-
resolve('config/polyfills.js')
19-
],
20-
testPathIgnorePatterns: [
21-
'<rootDir>/node_modules/',
22-
'<rootDir>/build/',
23-
// GitHub pages now use this directory so assume it's the build:
24-
'<rootDir>/docs/'
25-
],
17+
setupFiles: [resolve('config/polyfills.js')],
18+
testPathIgnorePatterns: ['<rootDir>/(build|docs|node_modules)/'],
2619
testEnvironment: 'node'
2720
};
2821
if (rootDir) {

template/src/__tests__/App-test.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)