| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5fe7741 commit 23d41fb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,7 +50,8 @@ function pummel() { | |||
| 50 | 50 | function check() { | |
| 51 | 51 | setTimeout(function() { | |
| 52 | 52 | assert.strictEqual(process._getActiveRequests().length, 0); | |
| 53 | - assert.strictEqual(process._getActiveHandles().length, 1); // the timer | ||
| 53 | + const activeHandles = process._getActiveHandles(); | ||
| 54 | + assert.ok(activeHandles.every((val) => val.constructor.name !== 'Socket')); | ||
| 54 | 55 | check_called = true; | |
| 55 | 56 | }, 0); | |
| 56 | 57 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments