mirror of https://github.com/openclaw/openclaw.git
test(contracts): split plugin and action contract lanes
This commit is contained in:
parent
6389498a7c
commit
56f8de0cf9
|
|
@ -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,
|
||||
});
|
||||
});
|
||||
}
|
||||
Loading…
Reference in New Issue