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: stringIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
defineConfigrootDirjest-preset.jsonjest-preset.jsjest-preset.cjsjest-preset.mjs