Website for showcasing all features of Tesseract Web.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

22 rader
538 B

  1. const tsconfig = require('./tsconfig.json');
  2. /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
  3. module.exports = {
  4. preset: 'ts-jest',
  5. testEnvironment: 'jsdom',
  6. globals: {
  7. 'ts-jest': {
  8. tsconfig: 'tsconfig.test.json',
  9. },
  10. },
  11. moduleNameMapper: Object.fromEntries(
  12. Object
  13. .entries(tsconfig.compilerOptions.paths)
  14. .map(([alias, paths]) => [alias, paths[0].replace('.', '<rootDir>')])
  15. ),
  16. collectCoverageFrom: [
  17. 'src/modules/**/*.{ts,tsx}',
  18. '!src/modules/base-*/**/*.*',
  19. ],
  20. };