Skip to content

Commit ce47c6c

Browse files
ConnormihaSimenB
authored andcommitted
Get rid of Node 6 support (#8455)
1 parent bc5c3c7 commit ce47c6c

File tree

56 files changed

+77
-237
lines changed

Some content is hidden

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

56 files changed

+77
-237
lines changed

.circleci/config.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,6 @@ jobs:
3131
- store_test_results:
3232
path: reports/junit
3333

34-
test-node-6:
35-
working_directory: ~/jest
36-
docker:
37-
- image: circleci/node:6
38-
steps:
39-
- checkout
40-
- restore-cache: *restore-cache
41-
- run: *install
42-
- save-cache: *save-cache
43-
- run:
44-
# react-native and react-testing-library do not work with node 6
45-
command: rm -rf examples/react-native examples/react-testing-library && yarn test-ci-partial
46-
- store_test_results:
47-
path: reports/junit
48-
4934
test-node-8:
5035
working_directory: ~/jest
5136
docker:
@@ -133,7 +118,6 @@ workflows:
133118
build-and-deploy:
134119
jobs:
135120
- lint-and-typecheck
136-
- test-node-6
137121
- test-node-8
138122
- test-node-10
139123
- test-jest-circus

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
'@babel/preset-env',
2828
{
2929
shippedProposals: true,
30-
targets: {node: 6},
30+
targets: {node: 8},
3131
},
3232
],
3333
],

e2e/__tests__/__snapshots__/failures.test.ts.snap

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -774,10 +774,6 @@ FAIL __tests__/assertionError.test.js
774774
82 |
775775
776776
at Object.equal (__tests__/assertionError.test.js:80:10)
777-
at asyncGeneratorStep (__tests__/assertionError.test.js:10:103)
778-
at _next (__tests__/assertionError.test.js:12:194)
779-
at __tests__/assertionError.test.js:12:364
780-
at Object.<anonymous> (__tests__/assertionError.test.js:12:97)
781777
`;
782778
783779
exports[`works with snapshot failures 1`] = `

e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ FAIL __tests__/index.js
3030
12 | module.exports = () => 'test';
3131
13 |
3232
33-
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:493:17)
33+
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:468:17)
3434
at Object.require (index.js:10:1)
3535
`;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,6 @@
139139
"logo": "https://opencollective.com/jest/logo.txt"
140140
},
141141
"engines": {
142-
"node": ">= 6"
142+
"node": ">= 8"
143143
}
144144
}

packages/babel-jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@babel/core": "^7.0.0"
2828
},
2929
"engines": {
30-
"node": ">= 6"
30+
"node": ">= 8"
3131
},
3232
"publishConfig": {
3333
"access": "public"

packages/babel-plugin-jest-hoist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"directory": "packages/babel-plugin-jest-hoist"
88
},
99
"engines": {
10-
"node": ">= 6"
10+
"node": ">= 8"
1111
},
1212
"license": "MIT",
1313
"main": "build/index.js",

packages/babel-preset-jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@babel/core": "^7.0.0"
1717
},
1818
"engines": {
19-
"node": ">= 6"
19+
"node": ">= 8"
2020
},
2121
"publishConfig": {
2222
"access": "public"

packages/diff-sequences/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"diff"
1717
],
1818
"engines": {
19-
"node": ">= 6"
19+
"node": ">= 8"
2020
},
2121
"main": "build/index.js",
2222
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)