Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
chore: deps and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jul 11, 2019
1 parent 9622ea1 commit 33d337a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@
"bugs": "https://github.com/libp2p/js-peer-info/issues",
"homepage": "https://github.com/libp2p/js-peer-info",
"devDependencies": {
"aegir": "^18.2.2",
"aegir": "^19.0.5",
"buffer-loader": "0.1.0",
"bundlesize": "~0.17.0",
"bundlesize": "~0.18.0",
"chai": "^4.2.0",
"dirty-chai": "^2.0.1"
},
"dependencies": {
"mafmt": "^6.0.7",
"multiaddr": "^6.0.6",
"peer-id": "~0.12.2",
"peer-id": "libp2p/js-peer-id#feat/async-await",
"unique-by": "^1.0.0"
},
"contributors": [
Expand Down
6 changes: 3 additions & 3 deletions test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ describe('peer-info', () => {
let pi

beforeEach(async () => {
const id = await Id.create({bits: 512})
const id = await Id.create({ bits: 512 })
pi = new Info(id)
})

it('create with Id class', async () => {
const id = await Id.create({bits: 512})
const id = await Id.create({ bits: 512 })
const pi = new Info(id)
const pi2 = new Info(id)
expect(pi.id).to.exist()
Expand Down Expand Up @@ -53,7 +53,7 @@ describe('peer-info', () => {
})

it('.create with existing id', async () => {
const id = await Id.create({bits: 512})
const id = await Id.create({ bits: 512 })
const info = await Info.create(id)
expect(info.id).to.exist()
expect(info.id.isEqual(id)).to.equal(true)
Expand Down

0 comments on commit 33d337a

Please sign in to comment.