Gazebo_simulation-Frontend/node_modules/babel-preset-jest
Riddhi Dave c586e2ed33 session update with django backend 2021-02-25 10:57:52 -05:00
..
README.md React files 2020-12-21 10:29:31 -05:00
index.js React files 2020-12-21 10:29:31 -05:00
package.json session update with django backend 2021-02-25 10:57:52 -05:00

README.md

babel-preset-jest

Babel preset for all Jest plugins. This preset is automatically included when using babel-jest.

Install

$ npm install --save-dev babel-preset-jest

Usage

.babelrc

{
  "presets": ["jest"]
}

Via CLI

$ babel script.js --presets jest

Via Node API

require('babel-core').transform('code', {
  presets: ['jest'],
});