Skip to content

ColCh/jest-webpack

Repository files navigation

jest-webpack Build Status Test Coverage

Plugin to use webpack with jest

Warning

This package is deprecated.

Please use https://github.com/mzgoddard/jest-webpack

More info: #6

Usage

See test/fixtures/jest_tests dir for example.

Update package.json with jest.scriptPreprocessor:

{
  "jest": {
    "scriptPreprocessor": "<rootDir>/node_modules/jest-webpack"
  }
}

Use jest-webpack-config option to point webpack config path:

{
  "jest-webpack-config": "jest-webpack.config.js"
}

About

DEPRECATED! Jest preprocessor to make it usable with webpack. https://github.com/ColCh/jest-webpack/issues/6

Resources

License

Stars

Watchers

Forks

Packages

No packages published