@mysetup/jest-config
v2.0.10
Published
Shared Jest configuration and test utilities for React and Next.js projects.
Downloads
649
Maintainers
Readme
@mysetup/jest-config
Overview
Base Jest configuration with ts-jest, Testing Library setup, and project defaults for React/Next.js packages.
Installation
pnpm add -D @mysetup/jest-config jestSupported libraries and runtimes
| Supported | Notes | | --------------------- | ---------------------------- | | Jest | Required | | React Testing Library | Supported | | Next.js test setup | Supported | | Vitest | Not targeted by this package |
Usage
const jestConfig = require("@mysetup/jest-config");
module.exports = {
...jestConfig,
};Scripts
pnpm build- compile TypeScript todist/pnpm clean- remove generated artifacts
License
MIT
