/**
* Jest configuration for Evernote MCP Server
*/
module.exports = {
// Test environment
testEnvironment: 'node',
// Test file patterns
testMatch: [
'**/tests/**/*.test.js'
],
// Coverage configuration
collectCoverageFrom: [
'*.js',
'!jest.config.js',
'!coverage/**'
],
// Coverage thresholds
coverageThreshold: {
global: {
branches: 70,
functions: 80,
lines: 80,
statements: 80
}
},
// Setup files
setupFilesAfterEnv: ['<rootDir>/tests/setup.js'],
// Module directories
moduleDirectories: ['node_modules', '<rootDir>'],
// Clear mocks between tests
clearMocks: true,
// Verbose output
verbose: true,
// Test timeout
testTimeout: 10000
};