Skip to content

Commit

Permalink
tests: add jest config for ts
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics authored May 5, 2024
1 parent 86195e1 commit fab5ef3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,35 @@
"author": "",
"license": "Apache-2.0",
"packageManager": "[email protected]",
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0"
Expand Down

0 comments on commit fab5ef3

Please sign in to comment.