| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,14 +27,3 @@ port2.postMessage(0); | |||
| 27 | 27 | // This is part of the test -- the event loop should be available and not stall | |
| 28 | 28 | // out due to the recursive .postMessage() calls. | |
| 29 | 29 | setTimeout(common.mustCall(), 0); | |
| 30 | - | ||
| 31 | - // Assert that the 'message' handler was actually called. | ||
| 32 | - // | ||
| 33 | - // We do not want to assert a specific call count, so common.mustCall cannot be | ||
| 34 | - // used in the port1.on('message' callback directly. | ||
| 35 | - process.once( | ||
| 36 | - 'beforeExit', | ||
| 37 | - common.mustCall(() => { | ||
| 38 | - assert(count > 0, 'count should be greater than 0'); | ||
| 39 | - }) | ||
| 40 | - ); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments