mirror of https://github.com/openclaw/openclaw.git
test: drop low-signal plugin runtime type contract
This commit is contained in:
parent
0614d992a4
commit
3c69e1ea4e
|
|
@ -1,11 +0,0 @@
|
|||
import { describe, expectTypeOf, it } from "vitest";
|
||||
import { createPluginRuntime } from "./index.js";
|
||||
import type { PluginRuntime } from "./types.js";
|
||||
|
||||
describe("plugin runtime type contract", () => {
|
||||
it("createPluginRuntime returns the declared PluginRuntime shape", () => {
|
||||
const runtime = createPluginRuntime();
|
||||
expectTypeOf(runtime).toMatchTypeOf<PluginRuntime>();
|
||||
expectTypeOf<PluginRuntime>().toMatchTypeOf(runtime);
|
||||
});
|
||||
});
|
||||
Loading…
Reference in New Issue