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

nilfalse / ctf / 5752977660

pending completion
5752977660

Pull #298

github

web-flow
Merge b6f7f6972 into da4e6f9f9
Pull Request #298: Update all of jest 27.5.1 → 29.6.2 (major)

0 of 266 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 613 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/packages/runtime/services/xpc/xpc_background_service.ts
1
import * as debug from '../../util/debug';
2
import * as storageService from '../storage/storage_service';
3

4
export interface Message {
5
  type: string;
6
  payload: unknown;
7
}
8

9
export function handle(message: Message) {
10
  switch (message.type) {
×
11
    case 'fetchReport':
12
      return fetchReport(message.payload as number);
×
13
    default:
14
      debug.never(`Unexpected message type "${message.type}"`);
×
15
  }
16
}
17

18
function fetchReport(tabId: number) {
19
  const report = storageService.reports.fetch(tabId);
×
20

21
  return Promise.resolve(report ? report.toJSON() : null);
×
22
}
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

© 2025 Coveralls, Inc