Skip to content
masterclass Buddy

Jest · Pipe

preset

The Jest preset option chooses a preset as the base for your test configuration. It accepts an npm module name or a relative path to a supported preset file.

Last updated

Syntax

preset: string

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • defineConfig
  • rootDir
  • jest-preset.json
  • jest-preset.js
  • jest-preset.cjs
  • jest-preset.mjs

Source: Configuring Jest · Jest. Checked 2026-11-03.