Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

babel-preset-jest

23.2.0 • Public • Published

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

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["jest"]
}

Via CLI

$ babel script.js --presets jest

Via Node API

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

Keywords

none

install

npm i babel-preset-jest

Downloadsweekly downloads

2,082,540

version

23.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability