79173886

Date: 2024-11-09 23:34:45
Score: 1
Natty:
Report link

If instead of babel you're using ts-jest, configure ts-jest as the transformer by running

npx ts-jest config:init

See https://kulshekhar.github.io/ts-jest/docs/getting-started/installation/#jest-config-file

This will add the following to your jest.config.js config file:

  transform: {
    "^.+.tsx?$": ["ts-jest",{}],
  },
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: djjeck