mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 15:50:20 +00:00
Tests: add global status contract suite
This commit is contained in:
12
src/channels/plugins/contracts/status.contract.test.ts
Normal file
12
src/channels/plugins/contracts/status.contract.test.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { describe } from "vitest";
|
||||
import { statusContractRegistry } from "./registry.js";
|
||||
import { installChannelStatusContractSuite } from "./suites.js";
|
||||
|
||||
for (const entry of statusContractRegistry) {
|
||||
describe(`${entry.id} status contract`, () => {
|
||||
installChannelStatusContractSuite({
|
||||
plugin: entry.plugin,
|
||||
cases: entry.cases as never,
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user