Skip to content

Commit

Permalink
removed unnessecary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Wemyss committed Dec 19, 2017
1 parent 142401f commit 80d1c15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 100 deletions.
90 changes: 0 additions & 90 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.1.2",
"cross-env": "^5.1.1",
"eslint": "^4.13.1",
"eslint-plugin-json": "^1.2.0",
"mocha": "^4.0.1",
"nyc": "^11.3.0",
"sinon": "^4.1.3",
"sinon-chai": "^2.14.0"
"nyc": "^11.3.0"
}
}
8 changes: 2 additions & 6 deletions src/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
const chai = require('chai');
const expect = chai.expect;
chai.use(require('sinon-chai'));
const sinon = require('sinon');
const expect = require('chai').expect;

const sandbox = sinon.sandbox.create();
const errorUtils = require('./index');

describe('error handler', ()=>{
Expand Down Expand Up @@ -126,5 +122,5 @@ describe('error handler', ()=>{
const result = errorUtils.updateStatusCode(err);
expect(result).to.equal(err);
});
})
});
});

0 comments on commit 80d1c15

Please sign in to comment.