Skip to content

runAdbTextWithoutDevice

Runs adb <commandArguments> with no device selected.

Only devices needs this — every other call in this family addresses one device.

Import:

import { runAdbTextWithoutDevice } from 'obsidian-integration-testing';

Signature:

function runAdbTextWithoutDevice(commandArguments: readonly string[]): Promise<string>

Parameters:

ParameterTypeDescription
commandArgumentsreadonly string[]The arguments to run.

Returns: Promise<string> — A Promise that resolves to stdout, with surrounding whitespace removed.