module.exports = {
  roots: ["<rootDir>/src"],
  testMatch: ["**/*.test.ts"],
  transform: {
    "^.+\\.tsx?$": "ts-jest",
  },
  preset: "ts-jest",
  verbose: true,

  moduleNameMapper: {
    "^@api/(.*)$": "<rootDir>/src/api/$1",
    "^@components/(.*)$": "<rootDir>/src/components/$1",
    "^@hooks/(.*)$": "<rootDir>/src/hooks/$1",
    "^@models/(.*)$": "<rootDir>/src/models/$1",
    "^@pages/(.*)$": "<rootDir>/src/pages/$1",
    "^@theme/(.*)$": "<rootDir>/src/theme/$1",
    "^@views/(.*)$": "<rootDir>/src/views/$1",
    "^@utils/(.*)$": "<rootDir>/src/utils/$1",
  },
};
