Try running ESLint manually to see if there are additional errors:
> npx eslint path/to/web3RPCProviders.test.ts