MCPcopy Create free account
hub / github.com/expo/expo / consoleErrorOutput

Function consoleErrorOutput

tools/src/commands/AndroidNativeUnitTests.ts:23–26  ·  view source on GitHub ↗
(output: string, label: string, colorifyLine: (string) => string)

Source from the content-addressed store, hash-verified

21type TestType = (typeof testTypes)[number];
22
23function consoleErrorOutput(output: string, label: string, colorifyLine: (string) => string): void {
24 const lines = output.trim().split(/\r\n?|\n/g);
25 console.error(lines.map((line) => `${chalk.gray(label)} ${colorifyLine(line)}`).join('\n'));
26}
27
28export async function androidNativeUnitTests({
29 type,

Callers 1

runGradlewFunction · 0.85

Calls 3

joinMethod · 0.80
mapMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…