- stubSfCommandUx(sandbox): {
info: SinonStub<[input: Info], void>;
log: SinonStub<[message?: string, ...args: any[]], void>;
logJson: SinonStub<[json: unknown], void>;
logSensitive: SinonStub<[msg?: string], void>;
logSuccess: SinonStub<[message: string], void>;
logToStderr: SinonStub<[message?: string, ...args: any[]], void>;
styledHeader: SinonStub<[text: string], void>;
styledJSON: SinonStub<[obj: AnyJson], void>;
styledObject: SinonStub<[obj: AnyJson], void>;
table: SinonStub<[options: TableOptions<Record<string, unknown>>], void>;
url: SinonStub<[text: string, uri: string, params: {}], void>;
warn: SinonStub<[input: Warning], Warning>;
} Returns {
info: SinonStub<[input: Info], void>;
log: SinonStub<[message?: string, ...args: any[]], void>;
logJson: SinonStub<[json: unknown], void>;
logSensitive: SinonStub<[msg?: string], void>;
logSuccess: SinonStub<[message: string], void>;
logToStderr: SinonStub<[message?: string, ...args: any[]], void>;
styledHeader: SinonStub<[text: string], void>;
styledJSON: SinonStub<[obj: AnyJson], void>;
styledObject: SinonStub<[obj: AnyJson], void>;
table: SinonStub<[options: TableOptions<Record<string, unknown>>], void>;
url: SinonStub<[text: string, uri: string, params: {}], void>;
warn: SinonStub<[input: Warning], Warning>;
}
info: SinonStub<[input: Info], void>
log: SinonStub<[message?: string, ...args: any[]], void>
logJson: SinonStub<[json: unknown], void>
logSensitive: SinonStub<[msg?: string], void>
logSuccess: SinonStub<[message: string], void>
logToStderr: SinonStub<[message?: string, ...args: any[]], void>
styledHeader: SinonStub<[text: string], void>
styledJSON: SinonStub<[obj: AnyJson], void>
styledObject: SinonStub<[obj: AnyJson], void>
table: SinonStub<[options: TableOptions<Record<string, unknown>>], void>
url: SinonStub<[text: string, uri: string, params: {}], void>
Stub methods on the Ux class. Even if you plan to make no assertions, this will silence the output to keep your test results clean