Files
obsidian_ollama/jest.config.js
T
fegger 59df2f6856 Refactor Ollama client and related components
Update error handling and improve streaming capabilities in the Ollama client and related components. Key changes
include:

- Simplify error types and improve error handling
- Refactor streaming logic to use async generators
- Update tool execution and vault indexing
- Improve utility functions and types
- Update test files to reflect changes
2026-05-05 17:09:16 +02:00

19 lines
425 B
JavaScript
Executable File

module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
testMatch: ['**/tests/**/*.test.ts'],
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
transform: {
'^.+\\.ts$': 'ts-jest',
},
coverageDirectory: 'coverage',
collectCoverage: true,
coverageReporters: ['text', 'lcov'],
setupFiles: ['./jest.setup.js'],
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
};