test: fix host hook contract helper import · openclaw/openclaw@100c595
steipete
·
2026-04-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import fs from "node:fs/promises"; |
2 | 2 | import path from "node:path"; |
3 | | -import { afterEach, describe, expect, it } from "vitest"; |
4 | 3 | import { |
5 | 4 | createPluginRegistryFixture, |
6 | 5 | registerTestPlugin, |
7 | | -} from "../../../test/helpers/plugins/contracts-testkit.js"; |
| 6 | +} from "openclaw/plugin-sdk/plugin-test-contracts"; |
| 7 | +import { afterEach, describe, expect, it } from "vitest"; |
8 | 8 | import { loadSessionStore, updateSessionStore, type SessionEntry } from "../../config/sessions.js"; |
9 | 9 | import { APPROVALS_SCOPE, READ_SCOPE, WRITE_SCOPE } from "../../gateway/operator-scopes.js"; |
10 | 10 | import { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。