Skip to content

Commit

Permalink
add jest-github-actions-reporter for a better CI experience
Browse files Browse the repository at this point in the history
hopefully failures are annotated on the files tab
  • Loading branch information
akash1810 committed Jan 21, 2021
1 parent d7b874f commit 2f4c4ad
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ module.exports = {
transform: {
"^.+\\.tsx?$": "ts-jest",
},
reporters: ["default", "jest-github-actions-reporter"],
testLocationInResults: true,
};
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"eslint-plugin-prettier": "^3.3.1",
"gh-pages": "^3.1.0",
"jest": "^26.4.2",
"jest-github-actions-reporter": "^1.0.3",
"np": "^7.2.0",
"prettier": "^2.2.1",
"serve": "^11.3.2",
Expand Down

0 comments on commit 2f4c4ad

Please sign in to comment.