# @bluecateng/jest-helpers

> Helper scripts for Jest

Latest version **3.3.0** (published 2025-08-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install @bluecateng/jest-helpers
pnpm add @bluecateng/jest-helpers
yarn add @bluecateng/jest-helpers
bun add @bluecateng/jest-helpers
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 3.3.0 |
| Published | 2025-08-21 |
| First published | 2022-10-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | jcestibariz, chinanwu, jwertkin |

## Links

- npm: https://www.npmjs.com/package/@bluecateng/jest-helpers
- Repository: git@github.com:bluecatengineering/pelagos-packages
- npm.io page: https://npm.io/package/@bluecateng/jest-helpers

## Recent versions

- 3.3.0 (latest) — 2025-08-21
- 3.2.2 — 2024-07-17
- 3.2.1 — 2024-07-03
- 3.2.0 — 2024-04-30
- 3.1.0 — 2023-06-09
- 3.0.0 — 2022-10-18

## README

# @bluecateng/jest-helpers [![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/bluecatengineering/pelagos-packages/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@bluecateng/jest-helpers.svg?style=flat)](https://www.npmjs.com/package/@bluecateng/jest-helpers)

Helper scripts for Jest.

## Installation

```bash
npm i -D @bluecateng/jest-helpers
```

## Usage

In `package.json` add:

```json
{
	"jest": {
		"moduleNameMapper": {
			"^react$": "@bluecateng/jest-helpers/mock-react",
			"^react-dom$": "@bluecateng/jest-helpers/mock-react",
			"^react/jsx-runtime$": "@bluecateng/jest-helpers/mock-react",
			"\\.(png|jpg|gif|svg)$": "@bluecateng/jest-helpers/file-mapper",
			"\\.(css|less)$": "@bluecateng/jest-helpers/style-mapper"
		},
		"setupFilesAfterEnv": ["@bluecateng/jest-helpers/setup-enzyme"],
		"testEnvironment": "node"
	}
}
```

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