events: validate options of `on` and `once`
Check whether options is object or not to avoid passing invalid type as options to on
and once
.
Refs: https://nodejs.org/dist/latest-v19.x/docs/api/events.html#eventsonceemitter-name-options
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Check whether options is object or not to avoid passing invalid type as options to on
and once
.
Refs: https://nodejs.org/dist/latest-v19.x/docs/api/events.html#eventsonceemitter-name-options