A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/e9762bf005 below:

add test case for listeners · nodejs/node@e9762bf · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed Original file line number Diff line number Diff line change

@@ -86,6 +86,11 @@ function listener4() {

86 86

assert.deepStrictEqual(ee.listeners('foo'), []);

87 87

}

88 88 89 +

{

90 +

const ee = new events.EventEmitter();

91 +

assert.deepStrictEqual(ee.listeners(), []);

92 +

}

93 + 89 94

{

90 95

class TestStream extends events.EventEmitter {}

91 96

const s = new TestStream();

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4