Skip to content

Commit

Permalink
test: update chai and mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
redonkulus committed May 15, 2020
1 parent 319a855 commit 5173e71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"http-status": "^1.4.2"
},
"devDependencies": {
"chai": "^3.0.0",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"eslint": "^7.0.0",
"istanbul": "^0.4.0",
"mocha": "^7.1",
"mocha": "^7.1.2",
"pre-commit": "^1.0",
"webpack": "^1.5"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('fumble', function () {

it('should provide an http object', function () {
expect(fumble).to.have.property('http').that.is.an('object').and.is.not.empty;
expect(fumble).to.have.deep.property('http.create').that.is.a('function');
expect(fumble).to.have.nested.property('http.create').that.is.a('function');
});

it('should not error when requiring the webpack generated file', function (done) {
Expand Down

0 comments on commit 5173e71

Please sign in to comment.