diff --git a/tests/recipes/browser-file-session-capability.test.ts b/tests/recipes/browser-file-session-capability.test.ts index 7afb7aab..1be69edd 100644 --- a/tests/recipes/browser-file-session-capability.test.ts +++ b/tests/recipes/browser-file-session-capability.test.ts @@ -10,6 +10,7 @@ import { } from "../../src/adapters/browser-files/index.ts"; import { createRuntimeAdapters } from "../../src/bootstrap/runtime-adapters.ts"; import { createSessionBrowserFileCapability } from "../../recipes/frontend-capabilities/browser-file-session-capability.ts"; +import { testRuntimeConfig } from "../helpers/runtime-config.ts"; /** * 2026-11-03 02-01. A product wires the browser file runtime to the session by @@ -157,7 +158,7 @@ afterEach(() => { async function compose() { current = await createRuntimeAdapters({ runtime: { - config: { + config: testRuntimeConfig({ APP_ENV: "local", API_BASE_URL: "http://localhost:8080", TELEMETRY_ENABLED: false, @@ -173,7 +174,7 @@ async function compose() { OFFLINE_COMMANDS: "DEFAULT", }, FEATURE_OVERRIDES: {}, - }, + }), configSchema: "V2", build: { buildId: "build-a", diff --git a/tests/unit/runtime-adapters-product-scope-participants.test.ts b/tests/unit/runtime-adapters-product-scope-participants.test.ts index 698a7723..3df098c4 100644 --- a/tests/unit/runtime-adapters-product-scope-participants.test.ts +++ b/tests/unit/runtime-adapters-product-scope-participants.test.ts @@ -2,6 +2,7 @@ import { afterEach, describe, expect, it, vi } from "vitest"; import type { ProductScopeParticipant } from "../../src/bootstrap/product-composition-contract.ts"; import { createRuntimeAdapters } from "../../src/bootstrap/runtime-adapters.ts"; +import { testRuntimeConfig } from "../helpers/runtime-config.ts"; /** * 2026-11-03 02-01. A product hands the template what must close with a @@ -56,7 +57,7 @@ afterEach(() => { async function compose() { current = await createRuntimeAdapters({ runtime: { - config: { + config: testRuntimeConfig({ APP_ENV: "local", API_BASE_URL: "http://localhost:8080", TELEMETRY_ENABLED: false, @@ -72,7 +73,7 @@ async function compose() { OFFLINE_COMMANDS: "DEFAULT", }, FEATURE_OVERRIDES: {}, - }, + }), configSchema: "V2", build: { buildId: "build-a",