Fixed a Small Error and Updated/Added Tests

This commit is contained in:
Ahmad 2024-12-29 18:50:54 -05:00
parent 4f205d7584
commit 3a095e2096
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
9 changed files with 105 additions and 14 deletions

View file

@ -28,7 +28,16 @@ jobs:
- name: Run tests
run: yarn coverage
- name: Generate junit.xml
run: JEST_JUNIT_CLASSNAME=\"{filepath}\" jest --reporters=jest-junit
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload junit.xml to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}