0.0.4 • Published 2 years ago

pound-foolish-legacy v0.0.4

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
2 years ago

pound-foolish

  • concise methods: it and expect totally.
  • 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-foolish

or

npm i -D pound-foolish

use 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);
})
0.0.4

2 years ago

0.0.10

2 years ago

0.0.1

2 years ago