Tests: add global status contract suite
This commit is contained in:
parent
acf7e83ac4
commit
9df7e8bec4
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,
|
||||
});
|
||||
});
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user