mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-07 23:31:07 +00:00
test(contracts): split plugin and action contract lanes
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
import { describe } from "vitest";
|
||||
import { getActionContractRegistry } from "./registry-actions.js";
|
||||
import { getPluginContractRegistry } from "./registry-plugin.js";
|
||||
import { installChannelActionsContractSuite, installChannelPluginContractSuite } from "./suites.js";
|
||||
|
||||
for (const entry of getPluginContractRegistry()) {
|
||||
describe(`${entry.id} plugin contract`, () => {
|
||||
installChannelPluginContractSuite({
|
||||
plugin: entry.plugin,
|
||||
});
|
||||
});
|
||||
}
|
||||
import { installChannelActionsContractSuite } from "./suites.js";
|
||||
|
||||
for (const entry of getActionContractRegistry()) {
|
||||
describe(`${entry.id} actions contract`, () => {
|
||||
@@ -0,0 +1,11 @@
|
||||
import { describe } from "vitest";
|
||||
import { getPluginContractRegistry } from "./registry-plugin.js";
|
||||
import { installChannelPluginContractSuite } from "./suites.js";
|
||||
|
||||
for (const entry of getPluginContractRegistry()) {
|
||||
describe(`${entry.id} plugin contract`, () => {
|
||||
installChannelPluginContractSuite({
|
||||
plugin: entry.plugin,
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user