Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 638B

123456789101112131415161718192021222324252627282930313233
  1. # babel-plugin-jest-hoist
  2. 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).
  3. ## Installation
  4. ```sh
  5. $ yarn add --dev babel-plugin-jest-hoist
  6. ```
  7. ## Usage
  8. ### Via `babel.config.js` (Recommended)
  9. ```js
  10. module.exports = {
  11. plugins: ['jest-hoist'],
  12. };
  13. ```
  14. ### Via CLI
  15. ```sh
  16. $ babel --plugins jest-hoist script.js
  17. ```
  18. ### Via Node API
  19. ```javascript
  20. require('@babel/core').transform('code', {
  21. plugins: ['jest-hoist'],
  22. });
  23. ```