module.exports = {
  preset: 'ts-jest',
  testEnvironment: 'node',
  roots: ['<rootDir>/electron'],
  testMatch: ['**/__tests__/**/*.test.ts'],
  collectCoverageFrom: [
    'electron/services/**/*.ts',
    '!electron/services/**/*.test.ts',
    '!electron/services/__tests__/**'
  ],
  moduleFileExtensions: ['ts', 'js'],
  transform: {
    '^.+\\.ts$': 'ts-jest'
  },
  testTimeout: 30000
}