Skip to content

Commit

Permalink
Allow Jest v28
Browse files Browse the repository at this point in the history
  • Loading branch information
lencioni committed May 2, 2022
1 parent 5b87149 commit cfec790
Show file tree
Hide file tree
Showing 3 changed files with 878 additions and 810 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,19 @@ jobs:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
eslint-version: [6, 7, 8]
jest-version: [25, 26, 27]
jest-version: [25, 26, 27, 28]
include:
# eslint@7 and jest@26 doesn't support node@8
# eslint@7 and jest@26 don't support node@8
- node-version: 8.x
eslint-version: 6
jest-version: 25
exclude:
# eslint@8 doesn't support node@10
- node-version: 10.x
eslint-version: 8
# jest@28 does't support node@10
- node-version: 10.x
jest-version: 28
runs-on: ubuntu-latest

steps:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@
"eslint-plugin-jest": "^23.17.1",
"eslint-plugin-prettier": "^3.1.4",
"execa": "^3.4.0",
"jest": "^25.1 || ^26 || ^27",
"jest": "^25.1 || ^26 || ^27 || ^28",
"jest-watch-select-projects": "^2.0.0",
"jest-watch-typeahead": "^0.6.4",
"jest-watch-typeahead": "^1.1.0",
"prettier": "1.19.1",
"rimraf": "^3.0.2",
"semver": "^6.3.0"
},
"peerDependencies": {
"eslint": "^6 || ^7 || ^8",
"jest": "^25.1 || ^26 || ^27"
"jest": "^25.1 || ^26 || ^27 || ^28"
},
"prettier": {
"proseWrap": "never",
Expand Down

0 comments on commit cfec790

Please sign in to comment.