@batoanng/jest-config
v1.1.2
Published
[](https://www.npmjs.com/package/@batoanng/jest-config) [](https://packagephobia.com/result?p=@batoanng/jest-config)
Readme
@batoanng/jest-config
A collection of pre-configured Jest setups for modern TypeScript projects across different frameworks like Next.js, NestJS, and Node with support for esbuild, JSDOM, and custom test environments.
✨ Features
- Multiple Jest presets:
common: base config for any TypeScript reponext: optimized for Next.jsnest: tailored for NestJSesbuild: fast builds with esbuild support
- Custom global setups via
jest.setup.jsandesbuild-jest.setup.js - JSDOM, environment, and transform preconfigured
- Designed for monorepo or standalone repo usage
📦 Installation
npm install -D jest @batoanng/jest-configYou may also need to install peer dependencies:
npm install -D ts-jest jest-environment-jsdom @testing-library/react @types/jestFor esbuild support:
npm install -D esbuild jest-esbuild