Skip to content
masterclass Buddy

Jest · Pipe

transform

Jest transforms source files that use syntax Node cannot run directly. The transform setting chooses the transformer, and Jest provides babel-jest by default for common JavaScript and TypeScript file extensions.

Last updated

Syntax

{"transform":{"\\.[jt]sx?$":"babel-jest"}}

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

Subscribe
  • babel-jest
  • ts-jest
  • transformIgnorePatterns
  • excludeJestPreset
  • createTransformer
  • getCacheKey
  • process
  • processAsync

Source: Code Transformation · Jest. Checked 2026-11-03.