mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-04-24 17:52:21 +00:00
Landing off the field for test suite
This commit is contained in:
parent
587e550197
commit
31d079cfa9
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('see if this works', function (t) {
|
||||||
|
common.setup(test, function (err, muxer) {
|
||||||
|
t.ifError(err, 'Should not throw')
|
||||||
|
// write test here
|
||||||
|
t.end()
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
3
tests/index.js
Normal file
3
tests/index.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = function (test, common) {
|
||||||
|
require('./base-test.js').all(test, common)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user