Skip to content

Commit

Permalink
chore(dev-deps): bump jest to v28 (#817)
Browse files Browse the repository at this point in the history
* chore(package): upgrade jest to v28

* ci(jest): retry flaky e2e tests

* ci(jest): remove redundant coverage reporter

* ci(jest): add github-actions reporter

* chore(package): upgrade jest v28.x
  • Loading branch information
chimurai authored Aug 20, 2022
1 parent b2cb838 commit bbb7982
Show file tree
Hide file tree
Showing 4 changed files with 657 additions and 853 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: yarn install --frozen-lockfile --ignore-scripts

- name: yarn test
run: yarn test
run: yarn test --reporters="default" --reporters="github-actions"

env:
CI: true
Expand Down
2 changes: 2 additions & 0 deletions jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
jest.retryTimes(3);

/**
* Uncomment the following lines for less noise in test output
*/
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"prettier:fix": "prettier --write \"**/*.{js,ts,md,yml,json,html}\"",
"build": "tsc --build",
"test": "jest",
"coverage": "jest --coverage --coverageReporters=lcov",
"coverage": "jest --coverage",
"prepare": "husky install",
"prepack": "yarn clean && yarn test && yarn build",
"spellcheck": "npx --yes cspell --show-context --show-suggestions '**/*.*'"
Expand Down Expand Up @@ -56,7 +56,7 @@
"@types/debug": "4.1.7",
"@types/express": "4.17.13",
"@types/is-glob": "4.0.2",
"@types/jest": "27.4.1",
"@types/jest": "28.1.7",
"@types/micromatch": "4.0.2",
"@types/node": "17.0.25",
"@types/supertest": "2.0.12",
Expand All @@ -72,13 +72,13 @@
"express": "4.17.3",
"get-port": "5.1.1",
"husky": "7.0.4",
"jest": "27.5.1",
"jest": "28.1.3",
"lint-staged": "12.3.8",
"mockttp": "2.7.0",
"open": "8.4.0",
"prettier": "2.6.2",
"supertest": "6.2.2",
"ts-jest": "27.1.4",
"ts-jest": "28.0.8",
"typescript": "4.6.3",
"ws": "8.5.0"
},
Expand Down
Loading

0 comments on commit bbb7982

Please sign in to comment.