- concise methods:
it
andexpect
totally. - support ESM.
- really low light:
pound-foolish
(3.84kb),jest
(4.74kb)
A name comes from "penny-wise" of "It".
yarn add -D pound-foolish
or
npm i -D pound-foolish
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);
})