Skip to content

Commit

Permalink
Add test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 1, 2024
1 parent e55dbd2 commit ecbf86d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
yarn.lock
!/test/fixtures/**/node_modules
coverage
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"node": ">=18.19"
},
"scripts": {
"test": "xo && ava && tsc ./source/index.d.ts"
"test": "xo && c8 ava && tsc ./source/index.d.ts"
},
"files": [
"source/**/*.js",
Expand Down Expand Up @@ -48,6 +48,7 @@
],
"devDependencies": {
"ava": "^6.1.3",
"c8": "^10.1.2",
"get-node": "^15.0.1",
"path-key": "^4.0.0",
"tempy": "^3.1.0",
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[![Install size](https://packagephobia.com/badge?p=nano-spawn)](https://packagephobia.com/result?p=nano-spawn)
![npm package minzipped size](https://img.shields.io/bundlejs/size/nano-spawn)
![Test coverage](https://img.shields.io/badge/coverage-100%25-green)
<!-- [![Downloads](https://img.shields.io/npm/dm/nano-spawn.svg)](https://npmjs.com/nano-spawn) -->
<!-- ![Dependents](https://img.shields.io/librariesio/dependents/npm/nano-spawn) -->

Expand Down

0 comments on commit ecbf86d

Please sign in to comment.