Skip to content

Commit

Permalink
docs: added details about the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Abiji-2020 authored Nov 29, 2024
1 parent c7f832e commit a806c2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ Based on [Pastel](https://github.com/vadimdemedes/create-pastel-app)
- run `npm install`
- run `npx tsx ./source/cli.tsx`

### Writing Tests
Permit CLI uses [`vitest`](https://vitest.dev/) as a tool for writing tests. It also uses [`ink-testing-library`](https://github.com/vadimdemedes/ink-testing-library) to render the `Ink` components.

- run `npx vitest` for testing
- run `npx vitest --coverage` for code coverage.


## CLI

```
Expand Down

0 comments on commit a806c2c

Please sign in to comment.