chore: callbacks -> async / await

BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await
This commit is contained in:
Dirk McCormick
2019-04-02 10:24:43 -04:00
committed by Jacob Heun
parent 49c7f33375
commit bc1aeefd0d
11 changed files with 249 additions and 92 deletions

View File

@ -6,7 +6,7 @@ const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
chai.use(dirtyChai)
const TCP = require('../src')
const TCP = require('../src/adapter')
const multiaddr = require('multiaddr')
describe('valid Connection', () => {