v1.0.2
babel-plugin-explicit-exports-references
Transforms all internal references to a module's exports such that each reference starts with `module.exports` instead of directly referencing an internal name. This enables easy mocking of specific (exported) functions in Jest with Babel/TypeScript, even
babel rewire jest function mock spy exported single same module functions import require specific test typescript
Click the AI button to generate exact installation commands and usage examples for your environment.
Dependencies (4)
Dev Dependencies (32)
Package Info
License
MIT
Last Publish
April 11, 2022
Unpacked Size
18.72 KB
Total Files
5
Issue Tracker
Report a bug