test: refactor to use `getEventListeners` in timers
Use getEventListeners
instead of listenerCount
because #35991 was landed.
Refs: https://github.com/nodejs/node/pull/35991 Refs: https://github.com/nodejs/node/pull/36006
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Use getEventListeners
instead of listenerCount
because #35991 was landed.
Refs: https://github.com/nodejs/node/pull/35991 Refs: https://github.com/nodejs/node/pull/36006