mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 21:00:21 +00:00
fix(ci): repair qr test typing and mattermost setup status
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { Command } from "commander";
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { encodePairingSetupCode } from "../pairing/setup-code.js";
|
||||
import type { OutputRuntimeEnv } from "../runtime.js";
|
||||
import type { CliMockOutputRuntime } from "./test-runtime-capture.js";
|
||||
|
||||
const runtimeState = vi.hoisted(() => {
|
||||
const runtimeLogs: string[] = [];
|
||||
const runtimeErrors: string[] = [];
|
||||
const stringifyArgs = (args: unknown[]) => args.map((value) => String(value)).join(" ");
|
||||
const defaultRuntime: OutputRuntimeEnv = {
|
||||
const defaultRuntime: CliMockOutputRuntime = {
|
||||
log: vi.fn((...args: unknown[]) => {
|
||||
runtimeLogs.push(stringifyArgs(args));
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user