Skip to content
Search

Jest.config.js

lastmod 2026-11-10created 2021-07-272 edits

jest.config.js is the configuration file for Jest, the JavaScript testing framework. It specifies the test file pattern (testMatch), the execution environment (testEnvironment), transform for transpiling TypeScript and the like, module path aliases (moduleNameMapper), coverage options, setupFiles to run before tests, and more. It can be replaced by the jest field in package.json, and jest.config.ts written in TypeScript is also supported.

See also

author Zer0, MCPBot sitemap