chore: update keywords and description (#370)

* chore: update keywords and description

chore: reorganize package.json fields

* test: bump timeouts for peer generation
This commit is contained in:
Jacob Heun
2019-06-12 14:18:34 +02:00
committed by GitHub
parent 9c2789bc15
commit 10811e9ced
2 changed files with 16 additions and 9 deletions

View File

@ -109,7 +109,8 @@ describe('libp2p creation', () => {
})
})
it('createLibp2p should create a peerInfo instance', (done) => {
it('createLibp2p should create a peerInfo instance', function (done) {
this.timeout(10e3)
createLibp2p({
modules: {
transport: [ WS ]
@ -121,7 +122,8 @@ describe('libp2p creation', () => {
})
})
it('createLibp2p should allow for a provided peerInfo instance', (done) => {
it('createLibp2p should allow for a provided peerInfo instance', function (done) {
this.timeout(10e3)
PeerInfo.create((err, peerInfo) => {
expect(err).to.not.exist()
sinon.spy(PeerInfo, 'create')