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

snatalenko / node-cqrs / 21877149956

10 Feb 2026 06:20PM UTC coverage: 85.292% (-9.1%) from 94.396%
21877149956

Pull #28

github

web-flow
Merge 1d0a1ad0d into 828e39903
Pull Request #28: TypeScript and event dispatching pipeline refactoring

673 of 1010 branches covered (66.63%)

935 of 1061 new or added lines in 68 files covered. (88.12%)

49 existing lines in 13 files now uncovered.

1270 of 1489 relevant lines covered (85.29%)

33.79 hits per line

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

75.0
/src/workers/protocol.ts
1
import type { MessagePort } from 'node:worker_threads';
2

3
export interface IWorkerData {
4
        projectionPort: MessagePort,
5
        viewPort: MessagePort
6
}
7

8
export const isWorkerData = (obj: unknown): obj is IWorkerData =>
2✔
NEW
9
        typeof obj === 'object'
×
10
        && obj !== null
11
        && 'projectionPort' in obj
12
        && !!obj.projectionPort
13
        && 'viewPort' in obj
14
        && !!obj.viewPort;
15

16
export type WorkerInitMessage = { type: 'ready' };
17

18
export const isWorkerInitMessage = (msg: unknown): msg is WorkerInitMessage =>
2✔
19
        typeof msg === 'object'
14✔
20
        && msg !== null
21
        && 'type' in msg
22
        && msg.type === 'ready';
23

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