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

streetsidesoftware / regexp-worker / 15785103688

20 Jun 2025 06:11PM UTC coverage: 52.416% (-43.8%) from 96.263%
15785103688

Pull #968

github

web-flow
Merge 351c335a7 into abddf9b6d
Pull Request #968: fix: support commonjs and esm

317 of 542 branches covered (58.49%)

Branch coverage included in aggregate %.

26 of 31 new or added lines in 9 files covered. (83.87%)

388 of 803 relevant lines covered (48.32%)

49.62 hits per line

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

0.0
/src/worker/workerCodeNodeTest.ts
1
import { parentPort, isMainThread } from 'worker_threads';
2
import { createHandler } from './WorkerMessageHandler.js';
3
import { procedures } from '../Procedures/procedures-all.js';
4

NEW
5
if (!isMainThread && parentPort) {
×
NEW
6
    const handler = createHandler(parentPort, procedures);
×
NEW
7
    parentPort.once('close', () => handler.dispose());
×
8
} else {
NEW
9
    throw new Error('workerNode only run in a node Worker thread context. ');
×
10
}
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