mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-04-24 23:22:30 +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)
|
|
})
|
|
})
|