mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-07-31 20:32:07 +00:00
readme till API
This commit is contained in:
9
tests/base-test.js
Normal file
9
tests/base-test.js
Normal 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
6
tests/index.js
Normal 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)
|
||||
}
|
Reference in New Issue
Block a user