@spraoi/jest-config
v0.30.0
Published
A preconfigured, extensible testing configuration with Enzyme and Jest.
Downloads
27
Maintainers
Keywords
Readme
@spraoi/jest-config
A preconfigured, extensible testing configuration with Enzyme and Jest.
Installation
yarn add --dev \
@babel/core \
@babel/plugin-transform-runtime \
@babel/runtime \
@spraoi/babel-preset \
@spraoi/jest-config \
babel-core@^7.0.0-bridge \
jest
Usage
Add the following configuration to the root of you project:
jest.config.js
module.exports = require('@spraoi/jest-config');
package.json
{
"scripts": {
"test": "jest"
}
}
You can then run yarn test
.