/**
 * Jest Configuration
 * Defines the backend test environment, setup hooks, and coverage targets used by
 * the Jest suite in the backend workspace.
 */
module.exports = {
    testEnvironment: 'node',
    setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
    testMatch: ['**/tests/**/*.test.js'],
    collectCoverageFrom: [
        'server.js',
        'services/**/*.js',
        'repositories/**/*.js'
    ]
};
