super-productivity/packages/plugin-dev/sync-md/jest.config.js.bak
Johannes Millan 78421e6196 fix(sync-md): fix failing tests after parser changes
- Update duplicate ID handling to set ID to null instead of skipping task
- Fix tests expecting different indent detection behavior
- Update tests to match actual parser behavior with most common indent detection
2025-07-10 19:17:41 +02:00

12 lines
319 B
JavaScript

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
},
testMatch: ['**/__tests__/**/*.(ts|tsx|js)', '**/*.(test|spec).(ts|tsx|js)'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
};