test: move bundled channel config runtime into test helpers

This commit is contained in:
Peter Steinberger
2026-04-06 18:30:03 +01:00
parent 6a052ca4b8
commit 8f7792317d
7 changed files with 16 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
import { beforeAll, describe, expect, it, vi } from "vitest";
import type { CoreConfig } from "./types.js";
vi.mock("../../../src/config/bundled-channel-config-runtime.js", () => ({
vi.mock("../../../test/helpers/config/bundled-channel-config-runtime.js", () => ({
getBundledChannelRuntimeMap: () => new Map(),
getBundledChannelConfigSchemaMap: () => new Map(),
}));

View File

@@ -7,7 +7,7 @@ import {
} from "../../../test/helpers/plugins/start-account-lifecycle.js";
import type { ResolvedNextcloudTalkAccount } from "./accounts.js";
vi.mock("../../../src/config/bundled-channel-config-runtime.js", () => ({
vi.mock("../../../test/helpers/config/bundled-channel-config-runtime.js", () => ({
getBundledChannelRuntimeMap: () => new Map(),
getBundledChannelConfigSchemaMap: () => new Map(),
}));