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

Commit

Permalink
Merge branch 'release-0.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtruxa committed Jun 25, 2019
2 parents 5099223 + e9437d1 commit e454c0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@maxtruxa/http-error",
"version": "0.1.1",
"version": "0.1.2",
"description": "Extensible HTTP error class for Node.js",
"author": "Max Truxa <dev@maxtruxa.com> (http://maxtruxa.com/)",
"main": "index.js",
Expand Down
1 change: 1 addition & 0 deletions test/index.test.js
Expand Up @@ -94,6 +94,7 @@ describe('HttpError', function() {

it('throws if the status code is not a number', function() {
expect(() => {
// eslint-disable-next-line no-new
new HttpError('foo');
}).to.throw(Error, '"code" must be a number');
});
Expand Down

0 comments on commit e454c0e

Please sign in to comment.