Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3baf41a

Browse files
authoredMay 29, 2018
Merge branch 'master' into coverage-no-tests-warning
2 parents 6478195 + 2307643 commit 3baf41a

File tree

577 files changed

+1037
-576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

577 files changed

+1037
-576
lines changed
 

‎.circleci/config.yml

+32-6
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
- restore-cache: *restore-cache
4343
- run: yarn --no-progress
4444
- save-cache: *save-cache
45-
- run: yarn lint && yarn typecheck && yarn lint-es5-build && yarn lint:md:ci
45+
- run: yarn lint --format junit -o reports/junit/js-lint-results.xml && yarn typecheck && yarn lint-es5-build --format junit -o reports/junit/js-es5-lint-results.xml && yarn lint:md:ci
46+
- store_test_results:
47+
path: reports/junit
4648

4749
test-browser:
4850
working_directory: ~/jest
@@ -64,7 +66,12 @@ jobs:
6466
- restore-cache: *restore-cache
6567
- run: yarn --no-progress
6668
- save-cache: *save-cache
67-
- run: yarn test-ci-partial
69+
- run:
70+
command: yarn test-ci-partial
71+
environment:
72+
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
73+
- store_test_results:
74+
path: reports/junit
6875

6976
test-node-9:
7077
working_directory: ~/jest
@@ -75,7 +82,11 @@ jobs:
7582
- restore-cache: *restore-cache
7683
- run: yarn --no-progress
7784
- save-cache: *save-cache
78-
- run: yarn test-ci-partial
85+
- run:
86+
command: yarn test-ci-partial
87+
environment:
88+
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
89+
7990

8091
test-jest-circus:
8192
working_directory: ~/jest
@@ -86,7 +97,12 @@ jobs:
8697
- restore-cache: *restore-cache
8798
- run: yarn --no-progress
8899
- save-cache: *save-cache
89-
- run: JEST_CIRCUS=1 yarn test-ci-partial
100+
- run:
101+
command: JEST_CIRCUS=1 yarn test-ci-partial
102+
environment:
103+
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
104+
- store_test_results:
105+
path: reports/junit
90106

91107
test-node-8:
92108
working_directory: ~/jest
@@ -97,7 +113,12 @@ jobs:
97113
- restore-cache: *restore-cache
98114
- run: yarn --no-progress
99115
- save-cache: *save-cache
100-
- run: yarn test-ci
116+
- run:
117+
command: yarn test-ci
118+
environment:
119+
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
120+
- store_test_results:
121+
path: reports/junit
101122

102123
test-node-6:
103124
working_directory: ~/jest
@@ -108,7 +129,12 @@ jobs:
108129
- restore-cache: *restore-cache
109130
- run: yarn --no-progress
110131
- save-cache: *save-cache
111-
- run: yarn test-ci-partial
132+
- run:
133+
command: yarn test-ci-partial
134+
environment:
135+
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
136+
- store_test_results:
137+
path: reports/junit
112138

113139
test-and-deploy-website:
114140
working_directory: ~/jest

‎.eslintrc.js

+5-8
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444
},
4545
},
4646
{
47-
files: ['scripts/**/*', 'integration-tests/**/*'],
47+
files: ['scripts/**/*', 'e2e/**/*'],
4848
rules: {
4949
'babel/func-params-comma-dangle': 0,
5050
},
@@ -56,14 +56,11 @@ module.exports = {
5656
},
5757
},
5858
{
59-
excludedFiles: [
60-
'integration-tests/__tests__/**/*',
61-
'website/versioned_docs/**/*.md',
62-
],
59+
excludedFiles: ['e2e/__tests__/**/*', 'website/versioned_docs/**/*.md'],
6360
files: [
6461
'examples/**/*',
6562
'scripts/**/*',
66-
'integration-tests/*/**/*',
63+
'e2e/*/**/*',
6764
'website/*/**/*',
6865
'eslintImportResolver.js',
6966
],
@@ -81,7 +78,7 @@ module.exports = {
8178
},
8279
{
8380
files: [
84-
'integration-tests/__tests__/**/*',
81+
'e2e/__tests__/**/*',
8582
'packages/babel-jest/**/*.test.js',
8683
'packages/babel-plugin-jest-hoist/**/*.test.js',
8784
'packages/babel-preset-jest/**/*.test.js',
@@ -103,7 +100,7 @@ module.exports = {
103100
files: [
104101
'website/**',
105102
'**/__tests__/**',
106-
'integration-tests/**',
103+
'e2e/**',
107104
'**/pretty-format/perf/**',
108105
],
109106
rules: {

0 commit comments

Comments
 (0)
Please sign in to comment.