https://github.com/benrosen/ackchyually
TypeScript testing utility powered by Jest.
https://github.com/benrosen/ackchyually
Last synced: 3 months ago
JSON representation
TypeScript testing utility powered by Jest.
- Host: GitHub
- URL: https://github.com/benrosen/ackchyually
- Owner: benrosen
- License: mit
- Created: 2021-12-04T17:25:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-05T19:42:47.000Z (over 4 years ago)
- Last Synced: 2025-08-09T00:57:48.821Z (12 months ago)
- Language: TypeScript
- Size: 844 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ackchyually
A TypeScript testing utility powered by Jest.

## Quickstart
### Install
> `ackchyually` requires [`jest`]() as a [peer dependency]().
```zsh
yarn add ackchyually jest -D
```
### Write tests
```typescript
import assert from "ackchyually";
const isEven = (value: number): boolean => value % 2 === 0;
assert(
[
[0, true],
[1, false],
[2, true],
],
isEven.name,
isEven
);
```
### Run tests
```shell
yarn test
```
### Review test results
```shell
`isEven`
✓ Returns true for 0
✓ Returns false for 1
✓ Returns true for 2
```