Files
node/test/parallel
yuzheng14 0c8539e336 events: fix bug listenerCount don't compare wrapped listener
When add listener by once, it will be wrapped into another function.
And when pass listener and there is just one event listener added by
once, it will return 0 even if passed listener equal wrapped event
listener.

Refs: https://github.com/nodejs/node/pull/46523
PR-URL: https://github.com/nodejs/node/pull/48592
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
2023-07-10 06:33:51 +00:00
..
2023-01-29 17:43:20 +00:00
2023-01-29 17:43:20 +00:00
2023-01-10 05:38:36 +00:00
2022-12-21 16:53:24 -05:00
2023-02-21 15:33:28 +00:00
2023-05-17 08:57:21 +00:00
2023-01-10 05:38:36 +00:00