mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 08:11:09 +00:00
test(contracts): localize surface registry helpers
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { describe } from "vitest";
|
||||
import { getDirectoryContractRegistry } from "../../../../test/helpers/channels/surface-contract-registry.js";
|
||||
import { installChannelDirectoryContractSuite } from "../../../../test/helpers/channels/threading-directory-contract-suites.js";
|
||||
import { getDirectoryContractRegistry } from "./registry.js";
|
||||
|
||||
for (const entry of getDirectoryContractRegistry()) {
|
||||
describe(`${entry.id} directory contract`, () => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { describe } from "vitest";
|
||||
import { getSurfaceContractRegistry } from "../../../../test/helpers/channels/surface-contract-registry.js";
|
||||
import { installChannelSurfaceContractSuite } from "../../../../test/helpers/channels/surface-contract-suite.js";
|
||||
import { getSurfaceContractRegistry } from "./registry.js";
|
||||
|
||||
for (const entry of getSurfaceContractRegistry()) {
|
||||
for (const surface of entry.surfaces) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { describe } from "vitest";
|
||||
import { getThreadingContractRegistry } from "../../../../test/helpers/channels/surface-contract-registry.js";
|
||||
import { installChannelThreadingContractSuite } from "../../../../test/helpers/channels/threading-directory-contract-suites.js";
|
||||
import { getThreadingContractRegistry } from "./registry.js";
|
||||
|
||||
for (const entry of getThreadingContractRegistry()) {
|
||||
describe(`${entry.id} threading contract`, () => {
|
||||
|
||||
Reference in New Issue
Block a user