Tests: add global actions contract suite

This commit is contained in:
Vincent Koc
2026-03-15 23:45:33 -07:00
parent 910d039ea7
commit c5d61b9677

View File

@@ -0,0 +1,13 @@
import { describe } from "vitest";
import { actionContractRegistry } from "./registry.js";
import { installChannelActionsContractSuite } from "./suites.js";
for (const entry of actionContractRegistry) {
describe(`${entry.id} actions contract`, () => {
installChannelActionsContractSuite({
plugin: entry.plugin,
cases: entry.cases as never,
unsupportedAction: entry.unsupportedAction as never,
});
});
}