Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 3ce3b48

Browse files
committed
test: use dirty-chai
1 parent a1592cf commit 3ce3b48

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"devDependencies": {
4040
"aegir": "^11.0.0",
4141
"chai": "^3.5.0",
42+
"dirty-chai": "^1.2.2",
4243
"pre-commit": "^1.2.2"
4344
},
4445
"homepage": "https://github.com/multiformats/js-multihashing",

test/index.spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/* eslint-env mocha */
22
'use strict'
33

4-
const expect = require('chai').expect
4+
const chai = require('chai')
5+
const dirtyChai = require('dirty-chai')
6+
chai.use(dirtyChai)
7+
const expect = chai.expect
58
const multihashing = require('../src')
69

710
describe('multihashing', () => {

0 commit comments

Comments
 (0)