Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
node-babel-plugin-jest-hoist /
Delete
Unzip
Name
Size
Permission
Date
Action
README.md
638
B
-rw-r--r--
2023-12-13 10:07
copyright
6.36
KB
-rw-r--r--
2023-12-13 08:28
Save
Rename
# 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/main/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'], }); ```