qgenutils
Version:
A security-first Node.js utility library providing authentication, HTTP operations, URL processing, validation, datetime formatting, and template rendering. Designed as a lightweight alternative to heavy npm packages with comprehensive error handling and
21 lines • 517 B
JavaScript
// jest.config.js - Fixed configuration for QGenUtils
module.exports = {
testEnvironment: 'node',
setupFilesAfterEnv: ['<rootDir>/tests/setup.js'],
moduleFileExtensions: ['js', 'json'],
roots: ['<rootDir>/lib', '<rootDir>/tests'],
testMatch: [
'**/tests/**/*.test.js',
'**/*.test.js'
],
collectCoverage: true,
coverageDirectory: 'coverage',
collectCoverageFrom: [
'lib/**/*.js',
'index.js',
'!**/node_modules/**',
'!**/*.test.js'
],
testTimeout: 10000,
verbose: true
};