jest.config.js 180 B

1234567
  1. module.exports = {
  2. rootDir: "src",
  3. testMatch: ["**/__tests__/**/*.+(ts|tsx|js)", "**/?(*.)+(spec|test).+(ts|tsx|js)"],
  4. transform: {
  5. "^.+\\.(ts|tsx)$": "ts-jest",
  6. },
  7. };