1.0.0 • Published 6 years ago

t0 v1.0.0

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
6 years ago

t0

Modern ultra-lightweight test library.

Assertions not included to further clamp down on package size.

If you're looking for something more functional and complex, maybe this package is not for you.

Usage

import { test, run } from "t0"

test("foo", () => {
  // do some tests here
})

run()

test(title, testFn)

Register a test with the current context. Throw errors to fail tests.

Async functions are accepted.

The test title is required.

run()

Run all tests.

1.0.0

6 years ago

0.0.0

7 years ago