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

cameri / nostream / 25601018106

09 May 2026 12:22PM UTC coverage: 33.99% (-31.1%) from 65.107%
25601018106

Pull #615

github

web-flow
Merge 1ef509ec3 into 36e5af87e
Pull Request #615: test: add unit tests for remaining app workers (#489)

788 of 3170 branches covered (24.86%)

Branch coverage included in aggregate %.

0 of 8 new or added lines in 2 files covered. (0.0%)

1822 existing lines in 87 files now uncovered.

2352 of 6068 relevant lines covered (38.76%)

13.55 hits per line

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

0.0
/src/cli/commands/export.ts
UNCOV
1
import { runExportEvents } from '../../scripts/export-events'
×
2

3
type ExportFormat = 'jsonl' | 'json'
4
type CompressionFormat = 'gzip' | 'gz' | 'xz'
5

6
type ExportOptions = {
7
  output?: string
8
  format?: ExportFormat
9
  compress?: boolean
10
  compressionFormat?: CompressionFormat
11
}
12

UNCOV
13
export const runExport = async (options: ExportOptions, rawArgs: string[]): Promise<number> => {
×
UNCOV
14
  const args: string[] = []
×
15

UNCOV
16
  if (options.output) {
×
UNCOV
17
    args.push(options.output)
×
18
  }
19

UNCOV
20
  if (options.compress) {
×
UNCOV
21
    args.push('--compress')
×
22
  }
23

UNCOV
24
  if (options.compressionFormat) {
×
UNCOV
25
    args.push('--format', options.compressionFormat)
×
26
  }
27

UNCOV
28
  let skipNext = false
×
UNCOV
29
  for (const arg of rawArgs) {
×
UNCOV
30
    if (skipNext) {
×
UNCOV
31
      skipNext = false
×
UNCOV
32
      continue
×
33
    }
34

UNCOV
35
    if (arg === '--format') {
×
UNCOV
36
      skipNext = true
×
UNCOV
37
      continue
×
38
    }
39

UNCOV
40
    if (arg.startsWith('--format=')) {
×
41
      continue
×
42
    }
43

UNCOV
44
    if (arg === '--compress' || arg === '-z') {
×
UNCOV
45
      continue
×
46
    }
47

UNCOV
48
    args.push(arg)
×
49
  }
50

UNCOV
51
  return runExportEvents(args, {
×
52
    format: options.format,
53
  })
54
}
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