Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
48
tests/agentic-jujutsu/jest.config.js
Normal file
48
tests/agentic-jujutsu/jest.config.js
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