fix(ci): route extension tests through public test bridges

This commit is contained in:
Peter Steinberger
2026-03-27 15:20:01 +00:00
parent 833636f0b2
commit 9098e948ac
6 changed files with 7 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import * as ssrf from "../../src/infra/net/ssrf.js";
import { createRequestCaptureJsonFetch } from "../../src/media-understanding/audio.test-helpers.js";
import { withFetchPreconnect } from "../../src/test-utils/fetch-mock.js";
import { withFetchPreconnect } from "../../test/helpers/extensions/fetch-mock.js";
import { createRequestCaptureJsonFetch } from "../../test/helpers/extensions/media-understanding.js";
import { describeGeminiVideo } from "./media-understanding-provider.js";
const TEST_NET_IP = "203.0.113.10";

View File

@@ -12,7 +12,7 @@ import {
KILOCODE_DEFAULT_MAX_TOKENS,
KILOCODE_DEFAULT_COST,
} from "../../src/plugin-sdk/provider-models.js";
import { captureEnv } from "../../src/test-utils/env.js";
import { captureEnv } from "../../test/helpers/extensions/env.js";
import {
applyKilocodeProviderConfig,
applyKilocodeConfig,

View File

@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { withEnv } from "../../../src/test-utils/env.js";
import { withEnv } from "../../../test/helpers/extensions/env.js";
import { __testing } from "./kimi-web-search-provider.js";
const kimiApiKeyEnv = ["KIMI_API", "KEY"].join("_");

View File

@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { withEnv } from "../../../src/test-utils/env.js";
import { withEnv } from "../../../test/helpers/extensions/env.js";
import { __testing } from "./perplexity-web-search-provider.js";
const openRouterApiKeyEnv = ["OPENROUTER_API", "KEY"].join("_");

View File

@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { withEnv } from "../../../src/test-utils/env.js";
import { withEnv } from "../../../test/helpers/extensions/env.js";
import { __testing } from "./grok-web-search-provider.js";
describe("grok web search provider", () => {

View File

@@ -0,0 +1 @@
export { createRequestCaptureJsonFetch } from "../../../src/media-understanding/audio.test-helpers.js";