babel-plugin-explicit-exports-references

babel-plugin-explicit-exports-references JS library on GitHub babel-plugin-explicit-exports-references JS library on npm Download babel-plugin-explicit-exports-references JS library

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

Version 1.0.2 License MIT
babel-plugin-explicit-exports-references has no homepage
babel-plugin-explicit-exports-references JS library on GitHub
babel-plugin-explicit-exports-references JS library on npm
Download babel-plugin-explicit-exports-references JS library
Keywords
babelrewirejestfunctionmockspyexportedsinglesamemodulefunctionsimportrequirespecifictest