A11yWatch/a11ywatch-core

View on GitHub
jest.config.ts

Summary

Maintainability
A
0 mins
Test Coverage
import mongodbPreset from "@shelf/jest-mongodb/jest-preset";

export default {
  ...mongodbPreset,
  moduleNameMapper: {
    "^@app/(.*)$": "<rootDir>/src/$1",
  },
  transform: {
    "^.+\\.(t|j)sx?$": "@swc/jest",
  },
  setupFilesAfterEnv: ["<rootDir>/setupTests.ts"],
  verbose: true,
  coverageDirectory: "./coverage/",
  collectCoverage: true,
  coverageProvider: "v8",
  testPathIgnorePatterns: ["dist"],
};