commando.html5/node_modules/tap/test/simple-harness-test.js

14 lines
254 B
JavaScript

var tap = require("../")
, test = tap.test
test("trivial success", function (t) {
t.ok(true, "it works")
t.end()
})
test("two tests", function (t) {
t.equal(255, 0xFF, "math should work")
t.notOk(false, "false should not be ok")
t.end()
})