kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
docs: add instructions for running unit test(s)
rodzic
64b0048738
commit
0d2f6d1108
14
readme.md
14
readme.md
|
@ -56,6 +56,18 @@ Ensure you have `REDIS_URL_TEST` set to a valid redis connection URL.
|
||||||
pnpm test
|
pnpm test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Agentic uses [ava][ava] as its test runner. To just execute unit tests, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm test:unit
|
||||||
|
```
|
||||||
|
|
||||||
|
To run a specific test, use the `--match` flag like so:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm test:unit --match='name of the test'
|
||||||
|
```
|
||||||
|
|
||||||
### Scratch
|
### Scratch
|
||||||
|
|
||||||
- `@agentic/core`
|
- `@agentic/core`
|
||||||
|
@ -80,3 +92,5 @@ pnpm test
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT © [Travis Fischer](https://transitivebullsh.it)
|
MIT © [Travis Fischer](https://transitivebullsh.it)
|
||||||
|
|
||||||
|
[ava]: https://github.com/avajs/ava
|
||||||
|
|
Ładowanie…
Reference in New Issue