module.exports = { runner: 'jest-electron/runner', testEnvironment: 'jest-electron/environment', preset: 'ts-jest', collectCoverage: false, collectCoverageFrom: ['src/**/*.{ts,js}', '!**/node_modules/**', '!**/vendor/**'], testRegex: '/tests/.*-spec\\.ts?$', moduleDirectories: ['node_modules', 'src'], moduleFileExtensions: ['js', 'ts', 'json'], moduleNameMapper: { '@g6/types': '/types', '@g6/(.*)': '/src/$1', "^d3-(.*)$": `d3-$1/dist/d3-$1`, }, globals: { 'ts-jest': { diagnostics: false, }, }, };