Auth0 rules: test coverage is always zero

Intent: Get test coverage for tests run on Auth0 rules

When we run unit tests with jest yarn test --coverage:

  • zero results for coverage on rules as per best practices
  • the coverage for hooks & other scripts comes up as intended
  • this is a jest bug

some of the things that we tried without success:

this is not an Auth0 bug or limitation - has anyone faced this? what worked for you?

Thanks