Skip to content

Commit

Permalink
docs(contributing): include coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Mar 2, 2024
1 parent 1574399 commit 9b2d643
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,28 @@ FILTER='bun-' npm run test:ci
FILTER='deno-' npm run test:ci
```

---

### Coverage

```sh
npm run test:c8
```

---

### Lint

```sh
npm run lint:checker
```

> Also
>
> ```sh
> npm run lint:fix
> ```
---
## Issues and Pull Requests
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "./lib/index.js",
"scripts": {
"test": "npx tsx --tsconfig ./tsconfig.test.json ./test/run.test.ts",
"pretest:nyc": "npm run build",
"pretest:c8": "npm run build",
"test:c8": "docker compose -f test/docker/docker-compose.c8.yml up",
"test:ci:c8": "npx c8 --include 'src/**' --exclude 'src/@types/**' --reporter=text --reporter=lcov npx tsx test/run.test.ts",
Expand Down

0 comments on commit 9b2d643

Please sign in to comment.