How to configure unhandled-rejections for jest in bazel

The below configuration in npmrc file suppresses the error for unhandledPromiseRejection after migration from node 14 to node 16.

.npmrc
node-options="--unhandled-rejections=none"

But in bazel using jest_test, unsure where to configure this. Can we do it with jest_test or package.json or jest.config.js

How and what is the appropriate way to do this?