Question · JavaScript and TypeScript course · Module 11: Testing with Jest

ts-jest Configuration

What preset in Jest configuration is needed for testing TypeScript?

Answer options

  • preset: 'tsc'
  • preset: 'ts-jest'
  • preset: 'jest-ts'
  • preset: 'typescript'

You can check the correct answer by solving this task in the CodeWorlds game.