Skip to content

Commit

Permalink
chore: add buffer to tests (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jul 13, 2020
1 parent f1b20b0 commit 6d86efa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@types/chai": "^4.2.8",
"@types/mocha": "^7.0.1",
"aegir": "^22.0.0",
"buffer": "^5.6.0",
"chai": "^4.2.0"
},
"dependencies": {
Expand Down
4 changes: 3 additions & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

'use strict'

const { Buffer } = require('buffer')
const expect = require('chai').expect
const mafmt = require('./../src')
const multiaddr = require('multiaddr')

const mafmt = require('./../src')

describe('multiaddr validation', function () {
const goodDNS = [
'/dns/ipfs.io',
Expand Down

0 comments on commit 6d86efa

Please sign in to comment.