# common-jest-preset

> common jest preset for node-modules group

Latest version **1.0.0** (published 2021-07-02) · 0 weekly downloads

## Install

```sh
npm install common-jest-preset
pnpm add common-jest-preset
yarn add common-jest-preset
bun add common-jest-preset
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-07-02 |
| First published | 2021-07-02 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | atian25 |

## Links

- npm: https://www.npmjs.com/package/common-jest-preset
- npm.io page: https://npm.io/package/common-jest-preset

## Recent versions

- 1.0.0 (latest) — 2021-07-02

## README

# common-jest-preset

Provide default jest preset config for node-modules group.

## Installation

```bash
$ npm i --save-dev common-jest-preset
```

## Configuration

Add these to your `package.json`

```js
{
  "jest": {
    "preset": "common-jest-preset",
    "setupFilesAfterEnv": [
      "<rootDir>/node_modules/common-jest-preset/setup-jest.js"
    ]
  }
}
```

## Rules

- support `.cjs` and `.mjs`.
- reset global console to clean the boring line number.

---
_Source: https://npm.io/package/common-jest-preset · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
