jest.config.base.js
// eslint-disable-next-line @typescript-eslint/no-var-requires
const os = require('os');
module.exports = {
preset: 'ts-jest',
automock: false,
clearMocks: true,
resetMocks: true,
resetModules: true,
collectCoverage: false,
displayName: 'async-wait-until',
maxConcurrency: os.cpus().length,
testURL: 'http://localhost',
moduleDirectories: ['node_modules', 'src'],
testPathIgnorePatterns: ['.cache', 'coverage', 'dist', 'docs', '.git', '.github', '.idea', 'node_modules'],
testRegex: '.*\\.tests\\.ts$',
};