0.2.0 • Published 8 years ago

hath-assert v0.2.0

Weekly downloads
21
License
ISC
Repository
github
Last release
8 years ago

hath-asserts

Build Status

A set of assertion helpers for hath. PRs welcome.

API

Example

const Hath = require('hath-assert')()

function testFoo(t, done) {
    t.assertEquals(1, 1)
    done()
}

module.exports = Hath.suite('Hath Assert Example', [
    testFoo
]);

if (module === require.main) {
  module.exports(new Hath());
}