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

luttje / videobrew / 8171852345

06 Mar 2024 12:13PM UTC coverage: 25.141% (-19.2%) from 44.313%
8171852345

Pull #25

github

web-flow
Merge 8fd7fcfd4 into 00419a58c
Pull Request #25: Feature/install playwright

356 of 537 branches covered (66.29%)

Branch coverage included in aggregate %.

17 of 89 new or added lines in 6 files covered. (19.1%)

1725 existing lines in 23 files now uncovered.

2003 of 8846 relevant lines covered (22.64%)

461.52 hits per line

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

66.67
/packages/cli/src/utils/shell.ts
1
import { execSync } from "child_process";
1✔
2
import { cwd } from "process";
1✔
3

1✔
4
export function shell(commands: string[]) {
1✔
5
  return commands.map((command) => `"${command}"`).join(' ');
1✔
6
}
1✔
7

1✔
8
/**
1✔
9
 * Runs a command, returning the output.
1✔
10
 * 
1✔
11
 * @param {string} programWithArguments The program and arguments to run.
1✔
12
 * @param {string} workingDirectory The working directory to run the command in. Defaults to the current working directory.
1✔
13
 * 
1✔
14
 * @returns {string} The output of the command.
1✔
15
 */
1✔
16
export function run(programWithArguments: string, workingDirectory: string|undefined = undefined) {
1✔
NEW
17
  if (workingDirectory === undefined)
×
NEW
18
    workingDirectory = cwd();
×
NEW
19

×
NEW
20
  return execSync(`${programWithArguments}`, {
×
NEW
21
    cwd: workingDirectory,
×
NEW
22
    encoding: 'utf8',
×
NEW
23
    stdio: 'pipe',
×
NEW
24
  });
×
NEW
25
}
×
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