Skip to content

Commit

Permalink
Added code coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Jan 18, 2025
1 parent bf144f5 commit 563c200
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ jobs:
- name: Tests
run: |
npm run test
- name: Upload Test Coverage
uses: codecov/codecov-action@v3
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# AT Protocol "Statusphere" Example App

[![Test](https://github.com/bluesky-social/statusphere-example-app/actions/workflows/test.yml/badge.svg)](https://github.com/bluesky-social/statusphere-example-app/actions/workflows/test.yml)
[![Coverage](https://codecov.io/gh/bluesky-social/statusphere-example-app/graph/badge.svg)](https://codecov.io/gh/bluesky-social/statusphere-example-app)

An example application covering:

Expand Down
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@
},
"jest": {
"preset": "ts-jest",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageReporters": [
"text",
"cobertura"
],
"moduleDirectories": [
"node_modules"
],
Expand Down

0 comments on commit 563c200

Please sign in to comment.