()
| 78 | |
| 79 | it("can be called with just an inner error", () => { |
| 80 | function makeInnerError () { |
| 81 | let innerError = new SyntaxError("This is the inner error"); |
| 82 | innerError.foo = "bar"; |
| 83 | innerError.code = 404; |
| 84 | return innerError; |
| 85 | } |
| 86 | |
| 87 | function newErrorWithInnerError (innerErr) { |
| 88 | return ono(innerErr); |
no outgoing calls
no test coverage detected
searching dependent graphs…