Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
48
vendor/ruvector/tests/agentic-jujutsu/jest.config.js
vendored
Normal file
48
vendor/ruvector/tests/agentic-jujutsu/jest.config.js
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Jest Configuration for Agentic-Jujutsu Tests
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
roots: ['<rootDir>'],
|
||||
testMatch: [
|
||||
'**/*.test.ts',
|
||||
'**/*-tests.ts'
|
||||
],
|
||||
transform: {
|
||||
'^.+\\.ts$': 'ts-jest'
|
||||
},
|
||||
collectCoverageFrom: [
|
||||
'**/*.ts',
|
||||
'!**/*.test.ts',
|
||||
'!**/*-tests.ts',
|
||||
'!**/node_modules/**',
|
||||
'!**/dist/**'
|
||||
],
|
||||
coverageThreshold: {
|
||||
global: {
|
||||
branches: 75,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80
|
||||
}
|
||||
},
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||||
verbose: true,
|
||||
testTimeout: 30000,
|
||||
maxWorkers: '50%',
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: {
|
||||
esModuleInterop: true,
|
||||
allowSyntheticDefaultImports: true,
|
||||
moduleResolution: 'node',
|
||||
resolveJsonModule: true,
|
||||
target: 'ES2020',
|
||||
module: 'commonjs',
|
||||
lib: ['ES2020']
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user