mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
12 lines
457 B
TypeScript
12 lines
457 B
TypeScript
// Zalo tests cover runtime api plugin behavior.
|
|
import { describe, expect, it } from "vitest";
|
|
import * as runtime from "./runtime-api.js";
|
|
|
|
describe("zalo runtime api", () => {
|
|
it("loads the narrow runtime api without reentering setup surfaces", () => {
|
|
expect(Object.hasOwn(runtime, "zaloPlugin")).toBe(false);
|
|
expect(Object.hasOwn(runtime, "zaloSetupWizard")).toBe(false);
|
|
expect(typeof runtime.setZaloRuntime).toBe("function");
|
|
});
|
|
});
|