chore: update deps and fix linting

This commit is contained in:
Jacob Heun 2018-11-09 16:19:18 +01:00
parent ecdaf40107
commit 84166fa0ea
3 changed files with 13 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
**/node_modules/
**/*.log
test/repo-tests*
package-lock.json
# Logs
logs

View File

@ -8,6 +8,9 @@
"url": "https://github.com/libp2p/interface-transport.git"
},
"main": "src/index.js",
"files": [
"src"
],
"scripts": {
"lint": "aegir lint",
"test": "aegir test",
@ -19,8 +22,7 @@
"coverage-publish": "exit(0)"
},
"pre-commit": [
"lint",
"test"
"lint"
],
"keywords": [
"IPFS"
@ -31,15 +33,15 @@
},
"homepage": "https://github.com/libp2p/interface-transport",
"devDependencies": {
"aegir": "^13.0.6",
"aegir": "^17.0.1",
"dirty-chai": "^2.0.1"
},
"dependencies": {
"chai": "^4.1.2",
"multiaddr": "^4.0.0",
"pull-goodbye": "0.0.2",
"pull-serializer": "^0.3.2",
"pull-stream": "^3.6.7"
"chai": "^4.2.0",
"multiaddr": "^5.0.2",
"pull-goodbye": "~0.0.2",
"pull-serializer": "~0.3.2",
"pull-stream": "^3.6.9"
},
"contributors": [
"David Dias <daviddias.p@gmail.com>",

View File

@ -63,6 +63,7 @@ module.exports = (common) => {
})
describe('events', () => {
// eslint-disable-next-line
// TODO: figure out why it fails in the full test suite
it.skip('connection', (done) => {
const finish = plan(2, done)
@ -89,6 +90,7 @@ module.exports = (common) => {
listener.listen(addrs[0])
})
// eslint-disable-next-line
// TODO: how to get the listener to emit an error?
it.skip('error', (done) => {
const listener = transport.createListener()