0.3.0 • Published 9 years ago

jest-babel-preprocessor v0.3.0

Weekly downloads
293
License
MIT
Repository
github
Last release
9 years ago

jest-babel-preprocessor

install

npm i --D jest-cli jest-babel-preprocessor

use

On postinstall jest-babel-preprocessor will update the dependent package's package.json to add jest.scriptPreprocessor & jest.unmockedModulePathPatterns fields if they do not exist.

i.e.:

in your package.json set the jest.scriptPreprocessor field:

{
  "jest": {
    "scriptPreprocessor": "<rootDir>/node_modules/jest-babel-preprocessor/preprocessor.js"
    "unmockedModulePathPatterns": [
      "<rootDir>/node_modules/react"
    ]
  }
}
0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago