@corex/jest
v4.0.43
Published
--- title: '@corex/jest' custom_edit_url: 'https://github.com/iamvishnusankar/corex/edit/master/packages/jest/README.md' ---
Downloads
383
Readme
title: '@corex/jest' custom_edit_url: 'https://github.com/iamvishnusankar/corex/edit/master/packages/jest/README.md'
Installation
yarn add @corex/jest -D
Usage
Create jest.config.js
and add the following content
module.exports = require('@corex/jest')
Or
module.exports = {
...require('@corex/jest'),
/** optional if you require code coverage **/
...require('@corex/jest/dist/coverage'),
}
Override
Override the preset configuration.
module.exports = {
...require('@corex/jest'),
...require('@corex/jest/dist/coverage'),
...{
/** custom overrides **/
},
}