text: const { defaults } = require('jest-config');
  
  module.exports = {
    moduleFileExtensions: [...defaults.moduleFileExtensions, 'ts', 'tsx'],
    preset: 'ts-jest',
    setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
    testEnvironment: 'jsdom'
  };
  