@guanghechen/jest-config

    1.8.3 • Public • Published

    @guanghechen/jest-config


    Basic jest configs for typescript monorepo.

    Install

    • npm

      npm install --save-dev @guanghechen/jest-config
    • yarn

      yarn add --dev @guanghechen/jest-config

    Usage

    • Use in jest.config.js

      const { tsMonorepoConfig } = require('@guanghechen/jest-config')
      module.exports = {
        ...tsMonorepoConfig(__dirname),
        coverageThreshold: {
          global: {
            branches: 100,
            functions: 100,
            lines: 100,
            statements: 100,
          },
        },
      }
      • repositoryRootDir: Monorepo repository root directory.

    Related

    Install

    npm i @guanghechen/jest-config

    DownloadsWeekly Downloads

    6

    Version

    1.8.3

    License

    MIT

    Unpacked Size

    6.47 kB

    Total Files

    4

    Last publish

    Collaborators

    • lemonclown