Wondering what’s next for npm?Check out our public roadmap! »

    @tractorzoom/jest-config

    0.3.2 • Public • Published

    @tractorzoom/jest-config

    Extendable jest configuration

    Publish Status

    Add badge to your repo's readme jest

    [![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest)
    

    How do I use? 🤔

    Installation
    npm i --save-dev @tractorzoom/jest-config
    Usage

    Extend configuration in jest.config.js

    module.exports = require('@tractorzoom/jest-config').jestConfig;

    Add Babel Config File babel.config.js

    module.exports = require('@tractorzoom/jest-config').babelConfig;
    Scripts

    Add scripts to package.json to utilize jest.

    {
        "scripts": {
            "test": "jest",
            "test:contract": "jest --testPathPattern=__tests__/contract/",
            "test:unit": "jest --testPathPattern=__tests__/unit/"
        }
    }
    

    Install

    npm i @tractorzoom/jest-config

    DownloadsWeekly Downloads

    297

    Version

    0.3.2

    License

    MIT

    Unpacked Size

    4.28 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar