devlato/async-wait-until

View on GitHub
jest.config.base.mjs

Summary

Maintainability
Test Coverage
import os from 'os';

export default {
  preset: 'ts-jest',
  automock: false,
  clearMocks: true,
  resetMocks: true,
  resetModules: true,
  collectCoverage: false,
  displayName: 'async-wait-until',
  maxConcurrency: os.cpus().length,
  testEnvironmentOptions: {
    url: 'http://localhost',
  },
  moduleDirectories: ['node_modules', 'src'],
  testPathIgnorePatterns: ['.cache', 'coverage', 'dist', 'docs', '.git', '.github', '.idea', 'node_modules'],
  testRegex: '.*\\.tests\\.ts$',
};