test: relax check in verify-graph
Relax the check regarding presence of async resources in graph to allow extra events. Before this change events not mentioned in reference graph were allowed but that one specified must match exactly in count. Now it's allowed to have more events of this type.
Refs: https://github.com/nodejs/node/pull/27477 Fixes: https://github.com/nodejs/node/issues/27617
fyi @ofrobots
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines