mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 15:58:38 +01:00
13 lines
400 B
JavaScript
13 lines
400 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} **/
|
|
module.exports = {
|
|
testEnvironment: "node",
|
|
transform: {
|
|
"^.+.tsx?$": ["ts-jest",{}],
|
|
},
|
|
moduleNameMapper: {
|
|
'@services/(.*)': '<rootDir>/../shared/services/$1',
|
|
'@data/(.*)': '<rootDir>/../shared/data/$1',
|
|
'@functions/(.*)': '<rootDir>/../shared/functions/$1',
|
|
'@schema/(.*)': '<rootDir>/../shared/schema/$1',
|
|
}
|
|
}; |