0.0.1 • Published 7 years ago
jest-runner-multi v0.0.1
Jest Runner Multi
If you want to have multiple jest runners in the same project, this project is for you.
Configuration
Your package.json
looks like this:
{
"jest": {
"runner": "jest-runner-multi",
"moduleFileExtensions": [
"css",
"js"
],
"testMatch": [
"**/*.{css,js}"
]
},
"jest-runner-multi": {
"**/*.test.js": "jest", // default jest runner
"**/*.js": "jest-runner-eslint", // additional eslint runner for eslint
"**/*.css": "jest-runner-stylelint", // runner for css
}
}