Describe the bug
When importing from @casl/ability/extra, Jest will complain about the module not being found.
To Reproduce
Steps to reproduce the behavior:
Import from @casl/ability/extra
Run a Jest test
Expected behavior
The imports should be correctly resolved while running under Jest. This can be fixed if any instances of "extra.js" in the package.json are replaced with "extra/index.js".
Describe the bug When importing from @casl/ability/extra, Jest will complain about the module not being found.
To Reproduce Steps to reproduce the behavior:
Expected behavior The imports should be correctly resolved while running under Jest. This can be fixed if any instances of "extra.js" in the package.json are replaced with "extra/index.js".
CASL Version
@casl/ability
- v6.7.0@casl/prisma
- v1.4.1Environment: Node 18