Fixed Tests GitHub Action

This commit is contained in:
Ahmad 2024-12-29 18:55:47 -05:00
parent 3a095e2096
commit f4426fc2a4
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
2 changed files with 3 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
run: yarn coverage
- name: Generate junit.xml
run: JEST_JUNIT_CLASSNAME=\"{filepath}\" jest --reporters=jest-junit
run: yarn generate-junit
- name: Upload results to Codecov
uses: codecov/codecov-action@v5

View file

@ -12,7 +12,8 @@
"format": "prettier --check --ignore-path .prettierignore .",
"format:fix": "prettier --write --ignore-path .prettierignore .",
"test": "jest",
"coverage": "jest --coverage"
"coverage": "jest --coverage",
"generate-junit": "JEST_JUNIT_CLASSNAME=\"{filepath}\" jest --reporters=jest-junit"
},
"dependencies": {
"@arcjet/next": "^1.0.0-alpha.34",