test(extensions): keep generation helper out of discovery

This commit is contained in:
Peter Steinberger
2026-04-20 22:08:48 +01:00
parent 0324114293
commit d16634be57
3 changed files with 4 additions and 4 deletions

View File

@@ -19,9 +19,9 @@ import {
registerProviderPlugin,
requireRegisteredProvider,
} from "../test/helpers/plugins/provider-registration.js";
import { maybeLoadShellEnvForGenerationProviders } from "./generation-live-test-helpers.js";
import googlePlugin from "./google/index.js";
import minimaxPlugin from "./minimax/index.js";
import { maybeLoadShellEnvForGenerationProviders } from "./test-support/generation-live-test-helpers.js";
const LIVE = isLiveTestEnabled();
const REQUIRE_PROFILE_KEYS =

View File

@@ -1,5 +1,5 @@
import { loadShellEnvFallback } from "../src/infra/shell-env.js";
import { getProviderEnvVars } from "../src/secrets/provider-env-vars.js";
import { loadShellEnvFallback } from "../../src/infra/shell-env.js";
import { getProviderEnvVars } from "../../src/secrets/provider-env-vars.js";
export function maybeLoadShellEnvForGenerationProviders(providerIds: string[]): void {
const expectedKeys = [

View File

@@ -42,12 +42,12 @@ import {
import alibabaPlugin from "./alibaba/index.js";
import byteplusPlugin from "./byteplus/index.js";
import falPlugin from "./fal/index.js";
import { maybeLoadShellEnvForGenerationProviders } from "./generation-live-test-helpers.js";
import googlePlugin from "./google/index.js";
import minimaxPlugin from "./minimax/index.js";
import openaiPlugin from "./openai/index.js";
import qwenPlugin from "./qwen/index.js";
import runwayPlugin from "./runway/index.js";
import { maybeLoadShellEnvForGenerationProviders } from "./test-support/generation-live-test-helpers.js";
import togetherPlugin from "./together/index.js";
import vydraPlugin from "./vydra/index.js";
import xaiPlugin from "./xai/index.js";