@batoanng/jest-config

1.1.2 • Public • Published

@batoanng/jest-config

npm version install size

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 repo
    • next: optimized for Next.js
    • nest: tailored for NestJS
    • esbuild: fast builds with esbuild support
  • Custom global setups via jest.setup.js and esbuild-jest.setup.js
  • JSDOM, environment, and transform preconfigured
  • Designed for monorepo or standalone repo usage

📦 Installation

npm install -D jest @batoanng/jest-config

You may also need to install peer dependencies:

npm install -D ts-jest jest-environment-jsdom @testing-library/react @types/jest

For esbuild support:

npm install -D esbuild jest-esbuild

Readme

Keywords

none

Package Sidebar

Install

npm i @batoanng/jest-config

Weekly Downloads

14

Version

1.1.2

License

MIT

Unpacked Size

3.95 kB

Total Files

10

Last publish

Collaborators

  • batoanng