Skip to content
Snippets Groups Projects
Select Git revision
  • cb39eaf131c0d8877198b27cfd7d803de21f6d3d
  • main default protected
  • 3.1.7
  • 3.1.6
  • 3.1.5
  • 3.1.4
  • 3.1.3
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 2.14.0
  • 2.13.5
  • 2.13.4
  • 2.13.3
  • 2.13.2
  • 2.13.0
  • 2.12.1
  • 2.12.0
  • 2.11.0
  • 2.10.1
  • 2.10.0
  • 2.9.1
22 results

test.js

Blame
  • jest.config.js 526 B
    module.exports = {
      roots: ['<rootDir>/src/'],
      preset: 'ts-jest',
      testEnvironment: 'node',
      transform: {
        '^.+\\.tsx?$': 'ts-jest'
      },
      moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
      collectCoverage: true,
      coverageReporters: ['json', 'lcov', 'text', 'clover', 'html'],
      coverageDirectory: 'docs/coverage',
      reporters: [
        'default',
        ['jest-html-reporters', {
          publicPath: './docs',
          filename: 'test-report.html',
          pageTitle: 'BePo Backend :: Test Results'
        }]
      ]
    }