Commit 4dfec72
committed
🐛 Fix request not being closed correctly when throwing an error
https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit
https://stackoverflow.com/questions/45466040/verify-that-an-exception-is-thrown-using-mocha-chai-and-async-await
https://stackoverflow.com/questions/76734200/how-to-close-an-http-request-in-node-js-and-prevent-further-data-from-being-sent1 parent 87421e9 commit 4dfec72
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments