fix: keep browser test fetch out of runtime scan

This commit is contained in:
Peter Steinberger
2026-04-29 08:27:57 +01:00
parent bd5afadc5c
commit f6a2cf15c0
6 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ import {
setBrowserControlServerReachable,
startBrowserControlServerFromConfig,
} from "./server.control-server.test-harness.js";
import { getBrowserTestFetch } from "./test-fetch.js";
import { getBrowserTestFetch } from "./test-support/fetch.js";
type ActErrorResponse = {
error?: string;

View File

@@ -12,7 +12,7 @@ import {
getBrowserControlServerTestState,
getPwMocks,
} from "./server.control-server.test-harness.js";
import { getBrowserTestFetch, type BrowserTestFetch } from "./test-fetch.js";
import { getBrowserTestFetch, type BrowserTestFetch } from "./test-support/fetch.js";
const state = getBrowserControlServerTestState();
const pwMocks = getPwMocks();

View File

@@ -3,7 +3,7 @@ import {
installBrowserControlServerHooks,
startBrowserControlServerFromConfig,
} from "./server.control-server.test-harness.js";
import { getBrowserTestFetch } from "./test-fetch.js";
import { getBrowserTestFetch } from "./test-support/fetch.js";
export function installAgentContractHooks() {
installBrowserControlServerHooks();

View File

@@ -1,7 +1,7 @@
import { createServer, type IncomingMessage, type ServerResponse } from "node:http";
import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";
import { isAuthorizedBrowserRequest } from "./http-auth.js";
import { getBrowserTestFetch, type BrowserTestFetch } from "./test-fetch.js";
import { getBrowserTestFetch, type BrowserTestFetch } from "./test-support/fetch.js";
let server: ReturnType<typeof createServer> | null = null;
let port = 0;

View File

@@ -1,6 +1,6 @@
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { getBrowserTestFetch } from "./test-fetch.js";
import { getFreePort } from "./test-port.js";
import { getBrowserTestFetch } from "./test-support/fetch.js";
let testPort = 0;
let prevGatewayPort: string | undefined;