mirror of
https://github.com/actions/setup-python.git
synced 2025-06-29 06:03:49 +00:00
Clean up node_modules
This commit is contained in:
parent
b581dd4017
commit
145e800d1f
7184 changed files with 11271 additions and 1877650 deletions
33
node_modules/babel-plugin-jest-hoist/README.md
generated
vendored
33
node_modules/babel-plugin-jest-hoist/README.md
generated
vendored
|
@ -1,33 +0,0 @@
|
|||
# babel-plugin-jest-hoist
|
||||
|
||||
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-jest).
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
$ yarn add --dev babel-plugin-jest-hoist
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Via `babel.config.js` (Recommended)
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
plugins: ['jest-hoist'],
|
||||
};
|
||||
```
|
||||
|
||||
### Via CLI
|
||||
|
||||
```sh
|
||||
$ babel --plugins jest-hoist script.js
|
||||
```
|
||||
|
||||
### Via Node API
|
||||
|
||||
```javascript
|
||||
require('@babel/core').transform('code', {
|
||||
plugins: ['jest-hoist'],
|
||||
});
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue