what-is-my-tech-stack
Version:
Analyze project dependencies and generate a human-readable tech stack description
20 lines (19 loc) • 429 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
preset: 'ts-jest/presets/default-esm',
testEnvironment: 'node',
extensionsToTreatAsEsm: ['.ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
useESM: true,
tsconfig: 'tsconfig.spec.json',
},
],
},
testMatch: ['<rootDir>/tests/**/*.test.ts'],
};