/** * Jest Worker Thread for Parallel Test Execution * * This module implements a Node.js worker thread that runs Jest tests * in parallel for improved performance. Each worker receives a batch of * test files and executes them independently, reporting results back to * the main thread. * * Key features: * - Parallel test execution using worker threads * - Jest CLI integration with custom configuration * - Robust error handling and process management * - Detailed result reporting with timing information * - Working directory management for test isolation * * Worker responsibilities: * - Execute assigned test files using Jest CLI * - Collect test results and performance metrics * - Report results back to main thread via postMessage * - Handle errors gracefully with detailed reporting * * Performance considerations: * - Isolated working directory to prevent conflicts * - Sequential test execution within worker (runInBand) * - Minimal logging to reduce I/O overhead * - Efficient result aggregation and reporting */ export {}; //# sourceMappingURL=jestWorker.d.ts.map