Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
/ babelify-jest Public archive
forked from babel/babel-jest

Jest plugin for Babel which handles babelify modules gently

License

Notifications You must be signed in to change notification settings

Shopify/babelify-jest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babelify-jest

Babel jest plugin which handles babelify modules gently. Note: As of babelify-jest 1.0.0, Babel6 is required.

Usage

Make the following changes to package.json:

{
  "devDependencies": {
    "babel-jest": "*",
    "jest-cli": "*"
  },
  "scripts": {
    "test": "jest"
  },
  "jest": {
    "scriptPreprocessor": "<rootDir>/node_modules/babelify-jest",
    "testFileExtensions": ["es6", "js"],
    "moduleFileExtensions": ["js", "json", "es6"]
  }
}

And run:

$ npm install

And you're good to go!

About

Jest plugin for Babel which handles babelify modules gently

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%