test: narrow xai test helper imports

This commit is contained in:
Peter Steinberger
2026-04-24 13:07:35 +01:00
parent 55c45307d0
commit aa3a5f9ff7
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import { withFetchPreconnect } from "openclaw/plugin-sdk/testing";
import { afterEach, describe, expect, it, vi } from "vitest";
import { withFetchPreconnect } from "../../src/test-utils/fetch-mock.js";
import { createCodeExecutionTool } from "./code-execution.js";
function installCodeExecutionFetch(payload?: Record<string, unknown>) {

View File

@@ -1,7 +1,7 @@
import { NON_ENV_SECRETREF_MARKER } from "openclaw/plugin-sdk/provider-auth-runtime";
import { createNonExitingRuntime } from "openclaw/plugin-sdk/runtime-env";
import { withEnv, withEnvAsync } from "openclaw/plugin-sdk/testing";
import { describe, expect, it, vi } from "vitest";
import { withEnv, withEnvAsync } from "../../src/test-utils/env.js";
import { createWizardPrompter } from "../../test/helpers/wizard-prompter.js";
import { resolveXaiCatalogEntry } from "./model-definitions.js";
import { isModernXaiModel, resolveXaiForwardCompatModel } from "./provider-models.js";

View File

@@ -1,5 +1,5 @@
import { withFetchPreconnect } from "openclaw/plugin-sdk/testing";
import { afterEach, describe, expect, it, vi } from "vitest";
import { withFetchPreconnect } from "../../src/test-utils/fetch-mock.js";
import { createXSearchTool } from "./x-search.js";
function installXSearchFetch(payload?: Record<string, unknown>) {