readme till API

This commit is contained in:
David Dias
2015-09-15 16:50:58 +01:00
parent 549395cd56
commit c255edbca3
4 changed files with 96 additions and 2 deletions

9
tests/base-test.js Normal file
View File

@@ -0,0 +1,9 @@
module.exports.all = function (test, common) {
test('a test', function (t) {
common.setup(test, function (err, Connection) {
t.ifError(err)
t.pass('woot!')
t.end()
})
})
}

6
tests/index.js Normal file
View File

@@ -0,0 +1,6 @@
var timed = require('timed-tape')
module.exports = function (test, common) {
test = timed(test)
require('./base-test.js').all(test, common)
}