babel-plugin-jest-hoist
- Version 29.6.3
- Published
- 14.3 kB
- 4 dependencies
- MIT license
Install
npm i babel-plugin-jest-hoist
yarn add babel-plugin-jest-hoist
pnpm add babel-plugin-jest-hoist
Overview
Babel plugin to hoist `jest.disableAutomock`, `jest.enableAutomock`, `jest.unmock`, `jest.mock`, calls above `import` statements. This plugin is automatically included when using [babel-jest](https://github.com/jestjs/jest/tree/main/packages/babel-jest).
Index
Functions
Functions
function jestHoist
jestHoist: () => PluginObj<{ declareJestObjGetterIdentifier: () => Identifier; jestObjGetterIdentifier?: Identifier;}>;
Package Files (1)
Dependencies (4)
Dev Dependencies (8)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/babel-plugin-jest-hoist
.
- Markdown[](https://www.jsdocs.io/package/babel-plugin-jest-hoist)
- HTML<a href="https://www.jsdocs.io/package/babel-plugin-jest-hoist"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1591 ms. - Missing or incorrect documentation? Open an issue for this package.