e3db56715b
- Lazy-load tesseract.js only in OCR route (skips 30MB WASM download) - Conditional tracing.js import (skip OTel gRPC in test mode) - Remove unused barcode-detector import - Add testTimeout/openHandlesTimeout to jest.config.js - Add --forceExitTimeout=30000 to test script - Split CI test jobs into parallel workflows (backend/frontend/mobile) - Add timeout-minutes: 15 to all test jobs - Use npm ci --ignore-scripts + selective native rebuild
11 lines
303 B
JavaScript
11 lines
303 B
JavaScript
export default {
|
|
testEnvironment: 'node',
|
|
transform: {},
|
|
moduleFileExtensions: ['js', 'json'],
|
|
testMatch: ['**/__tests__/**/*.test.js'],
|
|
testTimeout: 15000,
|
|
openHandlesTimeout: 5000,
|
|
// Run test files in parallel (not individual tests within a file)
|
|
// workerIdleMemoryLimit: '512MB',
|
|
}
|