Skip to content

Commit

Permalink
chore: add coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Jul 23, 2024
1 parent 5cb3bb4 commit 7d31acb
Show file tree
Hide file tree
Showing 2 changed files with 342 additions and 286 deletions.
4 changes: 3 additions & 1 deletion packages/filecoin-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@
"check": "tsc --build",
"lint": "tsc --build && eslint '**/*.{js,ts}'",
"test": "mocha --bail --timeout 10s -n no-warnings -n experimental-vm-modules -n experimental-fetch test/**/*.spec.js",
"test-watch": "pnpm build && mocha --bail --timeout 10s --watch --parallel -n no-warnings -n experimental-vm-modules -n experimental-fetch --watch-files src,test"
"test-watch": "pnpm build && mocha --bail --timeout 10s --watch --parallel -n no-warnings -n experimental-vm-modules -n experimental-fetch --watch-files src,test",
"coverage": "c8 -r text -r html npm run test"
},
"dependencies": {
"@ipld/dag-ucan": "^3.4.0",
Expand All @@ -172,6 +173,7 @@
"@web-std/blob": "^3.0.5",
"@web3-storage/eslint-config-w3up": "workspace:^",
"@web3-storage/filecoin-client": "workspace:^",
"c8": "^10.1.2",
"mocha": "^10.2.0",
"multiformats": "^12.1.2",
"one-webcrypto": "git://github.com/web3-storage/one-webcrypto",
Expand Down
Loading

0 comments on commit 7d31acb

Please sign in to comment.