Files

17 lines
464 B
JavaScript
Raw Permalink Normal View History

2026-07-29 06:14:44 -04:00
/** @type {import('jest').Config} */
const config = {
testEnvironment: 'node',
transform: {
'^.+\\.(t|j)sx?$': ['@swc/jest'],
},
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/$1',
'^@project-e/db$': '<rootDir>/../../packages/db/src',
'^@project-e/shared$': '<rootDir>/../../packages/shared/src',
},
testMatch: ['**/__tests__/**/*.test.(ts|tsx|js)'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
};
module.exports = config;