blob: 90b51230d123031c58226cbed4c45894d3ff8709 [file] [log] [blame]
gio9b7421a2025-06-18 12:31:13 +00001/** @type {import('ts-jest').JestConfigWithTsJest} */
2export default {
3 preset: 'ts-jest/presets/default-esm',
4 testEnvironment: 'node',
5 moduleNameMapper: {
6 '^(\\.{1,2}/.*)\\.js$': '$1',
7 '^config$': '<rootDir>/../config/src/index.ts'
gioa71316d2025-05-24 09:41:36 +04008 },
gio9b7421a2025-06-18 12:31:13 +00009 transform: {
10 '^.+\\.tsx?$': [
11 'ts-jest',
12 {
13 useESM: true,
14 },
15 ],
16 },
17 testMatch: [
18 "**/src/**/*.test.ts"
19 ]
gioa71316d2025-05-24 09:41:36 +040020};