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