0.0.5 • Published 6 years ago

liltest v0.0.5

Weekly downloads
7
License
Apache-2.0
Repository
github
Last release
6 years ago

liltest

A very very simple test runner for JavaScript and TypeScript that supports running in browser and in Node.

https://github.com/propelml/liltest

TypeScript Example

Create a file called mytest.ts

import { assert, assertEqual, test } from "liltest";

test(async function failingTest() {
  assertEqual([0, 1, 100], [0, 1, 2]);
});

test(async function workingTest() {
  assertEqual([0, 1, 2], [0, 1, 2]);
});

Run the test from Node by doing ts-node mytest.ts

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago