babel-plugin-jest-hoist

  • Version 27.0.6
  • Published
  • 13.5 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/facebook/jest/tree/master/packages/babel-jes

Index

Functions

Functions

function _default

_default: () => any;

    Package Files (1)

    Dependencies (4)

    Dev Dependencies (7)

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto 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
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](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>