Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abhishiv/judge

Test runner for browser/node
https://github.com/abhishiv/judge

Last synced: 26 days ago
JSON representation

Test runner for browser/node

Awesome Lists containing this project

README

        

# @gratico/judge

@gratico/judge
=====

Pluggable test runner.

Install and use
---------------

To use run `npm install -g @gratico/judge`

import {createTest} from "@gratico/judge"
const test = createTest()
test('foo', t => {
t.pass();
});

test('bar', async t => {
const bar = Promise.resolve('bar');
t.is(await bar, 'bar');
});

```
export * from "./types";
export * from "./runners/index";
export * from "./utils/index";

```