test: improve events coverage to check removeListeners, removeAllListeners functions
I improved test coverage for events. I found removeListeners , removeAllListeners tests. However remove(All)Listener(s) function does not pass some points. This PR will improve coverage.
I found this commit, but it seems to need to add tests when _events is undefined.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
N/A