pound-foolish-legacy
v0.0.4
Published
very tiny test runner and matcher
Downloads
3
Readme
pound-foolish
- concise methods:
itandexpecttotally. - support ESM.
- really low light:
pound-foolish(3.84kb),jest(4.74kb)
A name comes from "penny-wise" of "It".
install
yarn add -D pound-foolishor
npm i -D pound-foolishuse case
import { it, expect } from 'pound-foolish';
const sum = (first, second) => {
return first + second;
}
it('sum should plus both numbers', () => {
const result = sum(1,2);
expect(result).toBe(3);
})