jest.cli.config.js

/**
 * Jest testing package CLI configuration.
 *
 * @module jest.cli.config
 * @type {object}
 */
module.exports = {
  collectCoverageFrom: ['bin/*.js', 'lib/*.js'],
  coverageThreshold: {
    global: {
      functions: 13,
      branches: 5,
      lines: 20,
      statements: 20,
    },
  },
  modulePathIgnorePatterns: ['test/*.functional.test.js', 'test/*.unit.test.js'],
  setupFiles: ['dotenv/config'],
  setupFilesAfterEnv: ['./setup.js'],
  testEnvironment: 'node',
};