UNPKG

jrnl-mcp

Version:

Model Context Protocol server for jrnl CLI journal application

21 lines 598 B
/** @type {import('jest').Config} */ module.exports = { preset: 'ts-jest', testEnvironment: 'node', roots: ['<rootDir>/tests'], testMatch: ['**/*.test.ts'], transform: { '^.+\\.ts$': 'ts-jest', }, collectCoverageFrom: [ 'src/**/*.ts', '!src/**/*.d.ts', '!src/index.ts', // Exclude main entry point from coverage ], moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1', }, testTimeout: 10000, // 10 seconds for integration tests // Run tests in specific order: unit tests first, then integration tests testSequencer: '<rootDir>/tests/testSequencer.js', };