test: make test-eventemitter-asyncresource.js shorter
#45146
Merged
8000
test-eventemitter-asyncresource.js shorter
#45146