> For the complete documentation index, see [llms.txt](https://mhy.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mhy.js.org/tools/configs/jest.md).

# jest

<https://jestjs.io/docs/en/configuration.html>

For custom jest setup file support you can simple add file with such name pattern `jest.setup.[js|ts]` to your project and provide all needed configurations there

```bash
# Print config to console
mhy config jest

# Write jest.config.js
mhy config jest -i
```

## Used by

* `jest`
