test: use common.throwOnUnhandledRejection
Add common.crashOnUnhandledRejection to test/parallel/test-async-wrap-promise-after-enabled.js
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines