{"size": 950, "ext": "js", "max_stars_repo_path": "jest.config.js", "max_stars_repo_name": "ambiguous48/ui", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "jest.config.js", "max_issues_repo_name": "ambiguous48/ui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "jest.config.js", "max_forks_repo_name": "ambiguous48/ui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.0, "max_line_length": 72, "alphanum_fraction": 0.5378947368}
/* eslint-disable no-useless-escape */
process.env.TZ = 'UTC';
process.env.VITE_API = 'http://localhost:8080';

export default {
  preset: 'ts-jest',
  testEnvironment: 'node',
  testMatch: ['<rootDir>/**/*.test.ts', '<rootDir>/**/*.test.js'],
  testPathIgnorePatterns: ['/node_modules/'],
  moduleNameMapper: {
    '^\\$lib/(.*)$': '<rootDir>/src/lib/$1',
    '^\\$types/(.*)$': '<rootDir>/src/types/$1',
    '^\\$components/(.*)$': '<rootDir>/src/components/$1',
    '^\\$app(.*)$': ['<rootDir>/.svelte-kit/runtime/app$1'],
  },

  coverageDirectory: './coverage',
  coveragePathIgnorePatterns: [
    'node_modules',
    'src/database',
    'src/test',
    'src/types',
  ],
  reporters: ['default'],
  globals: { 'ts-jest': { diagnostics: false, isolatedModules: true } },
  transform: {
    '^.+\\.tsx?$': [
      'esbuild-jest',
      {
        sourcemap: true,
        loaders: {
          '.spec.ts': 'tsx',
        },
      },
    ],
  },
};
