• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

streetsidesoftware / regexp-worker / 15715712766

17 Jun 2025 06:51PM UTC coverage: 61.796% (-36.3%) from 98.11%
15715712766

Pull #962

github

web-flow
Merge 83a680833 into 48d572a05
Pull Request #962: feat: Bundle the worker

143 of 245 branches covered (58.37%)

Branch coverage included in aggregate %.

4 of 24 new or added lines in 5 files covered. (16.67%)

1 existing line in 1 file now uncovered.

373 of 590 relevant lines covered (63.22%)

90.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/worker/workerCodeNode.ts
1
import { parentPort, isMainThread } from 'worker_threads';
2
import { createHandler } from './WorkerMessageHandler.js';
3

NEW
4
if (!isMainThread && parentPort) {
×
NEW
5
    const handler = createHandler(parentPort);
×
NEW
6
    parentPort.once('close', handler.dispose);
×
7
} else {
NEW
8
    throw new Error('workerNode only run in a node Worker thread context. ');
×
9
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc