jest.config.js 226 B

12345678910
  1. export default {
  2. preset: "ts-jest",
  3. testEnvironment: "jsdom",
  4. collectCoverage: true,
  5. setupFilesAfterEnv: ["./jest.setup.ts"],
  6. moduleNameMapper: {
  7. "~/(.*)": "<rootDir>/src/$1",
  8. "^lodash-es$": "lodash",
  9. },
  10. }