mongodb-simplecrawler-queue
Version:
MongoDB FetchQueue Implementation for Simplecrawler
28 lines (27 loc) • 704 B
JavaScript
module.exports = {
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
testEnvironment: 'node',
testRegex: '\\.spec.ts$',
testPathIgnorePatterns: [
'/lib/',
'/node_modules/',
// '/test/elastic',
// '/test/srch-api',
],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
setupFilesAfterEnv: ['jest-extended', './test/config/testSetupFile.ts'],
reporters: [
'default',
['jest-junit', {
outputDirectory: 'reports/junit',
}],
],
coverageDirectory: 'reports/coverage',
collectCoverage: false, // if enabled, breakpoints in src do not work because of instrumentation
coveragePathIgnorePatterns: [
'/test/',
'/node_modules/',
],
};