mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-06-14 23:21:34 +00:00
test: refactor
This commit is contained in:
15
test/constructor.spec.js
Normal file
15
test/constructor.spec.js
Normal file
@ -0,0 +1,15 @@
|
||||
/* eslint-env mocha */
|
||||
'use strict'
|
||||
|
||||
const chai = require('chai')
|
||||
const dirtyChai = require('dirty-chai')
|
||||
const expect = chai.expect
|
||||
chai.use(dirtyChai)
|
||||
const TCP = require('../src')
|
||||
|
||||
describe('Constructor', () => {
|
||||
it('create an instance', () => {
|
||||
const tcp = new TCP()
|
||||
expect(tcp).to.exist()
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user