/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
  preset: 'ts-jest',
  testEnvironment: 'node',
  transform: {
    '^.+\\.ts$': 'ts-jest',
  },
  moduleFileExtensions: ['ts', 'js', 'json'],
  reporters: [
    "default",
    ["jest-html-reporter", {
      pageTitle: "DZapAI Test Report",
      outputPath: "test-report/test-report.html",
      includeFailureMsg: true,
      includeConsoleLog: true
    }]
  ]
};
