Skip to content

Commit a4b265a

Browse files
authored
test(google-meet): remove testing re-export (#126223)
1 parent 1de37dd commit a4b265a

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎config/knip.config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ const config = {
424424
"src/system-agent/greeting.ts": ["exports", "types"],
425425
// Focused tests consume these diagnostic/test seams; production code uses
426426
// the surrounding runtime helpers rather than importing the exports.
427+
"extensions/google-meet/src/plugin-registration.ts": ["exports"],
427428
"extensions/signal/src/setup-core.ts": ["exports"],
428429
// Focused CLI tests exercise plan construction through this explicit test seam.
429430
"extensions/onepassword/src/secret-ref-cli.ts": ["exports"],

‎extensions/google-meet/index.create.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import { Command } from "commander";
22
// Google Meet tests cover index.create plugin behavior.
33
import { createRequireRecord } from "openclaw/plugin-sdk/test-fixtures";
44
import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from "vitest";
5-
import plugin, { testing as googleMeetPluginTesting } from "./index.js";
5+
import plugin from "./index.js";
66
import { registerGoogleMeetCli } from "./src/cli.js";
77
import { resolveGoogleMeetConfig } from "./src/config.js";
8+
import { testing as googleMeetPluginTesting } from "./src/plugin-registration.js";
89
import type { GoogleMeetRuntime } from "./src/runtime.js";
910
import {
1011
captureStdout,

‎extensions/google-meet/index.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
2525
// Google Meet tests cover index plugin behavior.
2626
import { createRequireRecord } from "openclaw/plugin-sdk/test-fixtures";
2727
import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from "vitest";
28-
import plugin, { testing as googleMeetPluginTesting } from "./index.js";
28+
import plugin from "./index.js";
2929
import { findGoogleMeetCalendarEvent, listGoogleMeetCalendarEvents } from "./src/calendar.js";
3030
import { resolveGoogleMeetConfig, type GoogleMeetConfig } from "./src/config.js";
3131
import { normalizeMeetUrl } from "./src/meet-url.js";
@@ -38,6 +38,7 @@ import {
3838
fetchGoogleMeetSpace,
3939
} from "./src/meet.js";
4040
import { handleGoogleMeetNodeHostCommand } from "./src/node-host.js";
41+
import { testing as googleMeetPluginTesting } from "./src/plugin-registration.js";
4142
import {
4243
meetAudioBridge,
4344
meetBrowserState,

‎extensions/google-meet/index.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ import {
2020
resolveMeetingInput,
2121
sendGoogleMeetGatewayError,
2222
shouldJoinCreatedMeet,
23-
testing,
2423
} from "./src/plugin-registration.js";
2524
import { googleMeetConfigSchema, GoogleMeetToolSchema } from "./src/plugin-schema.js";
2625
import { GOOGLE_MEET_NODE_COMMAND } from "./src/transports/google-meet-platform-constants.js";
2726

28-
export { testing };
29-
3027
export default definePluginEntry({
3128
id: "google-meet",
3229
name: "Google Meet",

0 commit comments

Comments
 (0)