mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-04-25 08:12:33 +00:00
24 lines
451 B
JavaScript
24 lines
451 B
JavaScript
|
/* eslint-env mocha */
|
||
|
'use strict'
|
||
|
|
||
|
const tape = require('tape')
|
||
|
const tests = require('interface-transport/tests')
|
||
|
const TCP = require('../src')
|
||
|
|
||
|
// Not adhering to this interface anymore!
|
||
|
describe.skip('interface-transport', () => {
|
||
|
it('works', (done) => {
|
||
|
const common = {
|
||
|
setup (t, cb) {
|
||
|
cb(null, new TCP())
|
||
|
},
|
||
|
teardown (t, cb) {
|
||
|
cb()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
tape.onFinish(done)
|
||
|
tests(tape, common)
|
||
|
})
|
||
|
})
|