mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 14:45:46 +00:00
fix(ci): route extension tests through public test bridges
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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("_");
|
||||
|
||||
@@ -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("_");
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
1
test/helpers/extensions/media-understanding.ts
Normal file
1
test/helpers/extensions/media-understanding.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { createRequestCaptureJsonFetch } from "../../../src/media-understanding/audio.test-helpers.js";
|
||||
Reference in New Issue
Block a user