http-errors
http-errors copied to clipboard
Improved interoperability with ES6 classes
PR for #98
Any updates on this?
Sorry, it slipped through the cracks. Is it possible to get tests added for this? I can look into adding them too. Ideally es6 classes to make sure we don't break it in the future.
Sure no problem. Whenever I have some time I will write a couple tests based on the use case that we encountered on our project
@dougwilson it's done. I could only come up with one test since the change is very small and it's the only case where it broke (i.e. directly extending HttpError). Let me know if I should add something more